This commit is contained in:
2023-10-10 19:24:16 -05:00
parent 9dfd525c97
commit 360facb3b6
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ fi
isInFile=$(cat /home/akanealw/.ssh/config | grep -c "truenas")
if [ $isInFile -eq 0 ]
then
echo "" >> /home/akanealw/.ssh/config
echo "Host truenas" >> /home/akanealw/.ssh/config
echo "Hostname 192.168.1.41" >> /home/akanealw/.ssh/config
echo "Port 22" >> /home/akanealw/.ssh/config

View File

@@ -7,5 +7,5 @@ sudo rm /usr/local/bin/wrestic
if [[ ! -f /etc/profile.d/mount-shared-drives.sh ]]
then
sudo umount /mnt/* -v
echo "Shared folders have been unmounted"
echo "Shared folders have been unmounted. Please remove uneccessary mount folders"
fi