From a6ae96c5f070f981834a9e2ec10805f24548fd7f Mon Sep 17 00:00:00 2001 From: James Devine Date: Mon, 29 Jan 2018 22:25:09 +0100 Subject: [PATCH] added sudo to the rc.local line --- partialinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partialinstall.sh b/partialinstall.sh index 556e891..37ab2eb 100644 --- a/partialinstall.sh +++ b/partialinstall.sh @@ -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