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)
|
2022-06-01 00:16:06 +00:00
|
|
|
# Copyright (C) 2021-present Fewtarius
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2022-04-03 20:41:49 +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'
|
2022-06-01 00:16:06 +00:00
|
|
|
|
2022-12-04 20:46:38 +00:00
|
|
|
# Redirect requests for sudo to nowhere.
|
|
|
|
alias sudo=''
|
|
|
|
|
2022-02-05 14:23:32 +00:00
|
|
|
case "$TERM" in
|
2022-12-21 00:29:08 +00:00
|
|
|
linux|nxterm|screen)
|
2022-02-05 14:23:32 +00:00
|
|
|
;;
|
|
|
|
"")
|
|
|
|
export TERM="linux"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
export TERM="xterm"
|
|
|
|
;;
|
|
|
|
esac
|