distribution/packages/sysutils/busybox/profile.d/98-busybox.conf

25 lines
493 B
Text
Raw Normal View History

2022-02-05 14:23:32 +00:00
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2021-present Fewtarius
2022-02-05 14:23:32 +00:00
. /etc/os-release
2022-02-05 14:23:32 +00:00
export HOME="/storage"
export PATH="/usr/bin:/usr/sbin"
export HOSTNAME=`cat /etc/hostname`
2022-07-30 12:22:53 +00:00
export PS1='\e[1;30m\h:\e[1;30m\w \e[0m\$ \e[0m'
# Redirect requests for sudo to nowhere.
alias sudo=''
2022-02-05 14:23:32 +00:00
case "$TERM" in
linux|nxterm|screen|xterm*)
2022-02-05 14:23:32 +00:00
;;
"")
export TERM="linux"
;;
*)
export TERM="xterm"
;;
esac