mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 13:44:20 +01:00
Fix missing .bash_profile on fresh install, add current path to prompt (#957)
* ssh: Fix for non existing .bash_profile startup error * ssh: Add current, short, path to command line prompt * ssh: Bump to 8.1, updated changelog
This commit is contained in:
committed by
Pascal Vizeli
parent
f8ee1aed33
commit
aca8de1cba
@@ -58,6 +58,7 @@ if bashio::fs.file_exists /data/.bash_profile; then
|
||||
fi
|
||||
|
||||
# Persist .bash_profile by redirecting .bash_profile to /data
|
||||
touch /data/.bash_profile
|
||||
chmod 600 /data/.bash_profile
|
||||
ln -s -f /data/.bash_profile /root/.bash_profile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user