Fixed BAsh
This commit is contained in:
parent
6c10a675e6
commit
d397f246db
4
setup.sh
4
setup.sh
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "This Script has to be ran as Sudo"
|
bash -c 'echo "This Script has to be ran as Sudo"'
|
||||||
sudo -v
|
bash -c "sudo -v"
|
||||||
if [ -d "/etc/update-motd.d/old" ];then
|
if [ -d "/etc/update-motd.d/old" ];then
|
||||||
bash -c "sudo rm /etc/update-motd.d/00-custom"
|
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'
|
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'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user