mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +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
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 8.1
|
||||
|
||||
- Fix for non existing .bash_profile startup error
|
||||
- Add current, short, path to command line prompt
|
||||
|
||||
## 8.0
|
||||
|
||||
- Add support for a web-based terminal via Ingress
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "SSH server",
|
||||
"version": "8.0",
|
||||
"version": "8.1",
|
||||
"slug": "ssh",
|
||||
"description": "Allows connections over SSH",
|
||||
"url": "https://github.com/home-assistant/hassio-addons/tree/master/ssh",
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
export PS1="\$ "
|
||||
export PS1="\W \$ "
|
||||
cat /etc/motd
|
||||
|
||||
@@ -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