testing
This commit is contained in:
@@ -13,7 +13,10 @@ mv /root/restic-sftp-* /root/scripts/restic
|
||||
mv /root/export-* /root/scripts/restic
|
||||
chmod +x /root/scripts/restic/*
|
||||
|
||||
if [[ ! -f /root/.ssh/config ]]; then touch /root/.ssh/config
|
||||
if [[ ! -f /root/.ssh/config ]]; then
|
||||
touch /root/.ssh/config
|
||||
fi
|
||||
|
||||
isInFile=$(cat /root/.ssh/config | grep -c "truenas")
|
||||
if [ $isInFile -eq 0 ]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user