added sudo to the rc.local line

This commit is contained in:
James Devine 2018-01-29 22:25:09 +01:00 committed by GitHub
parent c320032c2f
commit a6ae96c5f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ echo "--- changing static ip address to 192.168.12.1 ---"
cp -f dhcpcd.conf /etc/dhcpcd.conf
echo"--- preventing this script from running next reboot ---"
cp -f normalrc.local /etc/rc.local
sudo cp -f normalrc.local /etc/rc.local
echo "--- Finished setup! Rebooting now ---"
sleep 10