Fixed BAsh

This commit is contained in:
Phil 2022-06-26 20:49:12 +01:00
parent 6c10a675e6
commit d397f246db

View File

@ -1,6 +1,6 @@
#!/bin/bash
echo "This Script has to be ran as Sudo"
sudo -v
bash -c 'echo "This Script has to be ran as Sudo"'
bash -c "sudo -v"
if [ -d "/etc/update-motd.d/old" ];then
bash -c "sudo rm /etc/update-motd.d/00-custom"
bash -c 'sudo wget https://git.ncltech.co.uk/api/v1/repos/Phil/update-motd.d/raw/00-custom -O /etc/update-motd.d/00-custom'