Merge pull request #292 from fewtarius/dev

Dev
This commit is contained in:
fewtarius 2022-07-30 08:23:34 -04:00 committed by GitHub
commit 15a1d1a202
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,8 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
HOSTNAME=$(get_setting system.hostname)
hostname ${HOSTNAME}

View file

@ -8,7 +8,7 @@ export HOME="/storage"
export PATH="/usr/bin:/usr/sbin"
export LD_LIBRARY_PATH="/usr/lib"
export HOSTNAME=`cat /etc/hostname`
export PS1='\e[1;30m'"${HW_DEVICE}"':\e[1;30m\w \e[0m\$ \e[0m'
export PS1='\e[1;30m\h:\e[1;30m\w \e[0m\$ \e[0m'
case "$TERM" in
linux|nxterm|screen|xterm|xterm-color)