From b1907ea8ae765a0dc6158ca548e581a001651c23 Mon Sep 17 00:00:00 2001 From: James Devine Date: Wed, 21 Mar 2018 23:49:36 +0100 Subject: [PATCH] fixed dnsmasq file replacement --- installparttwo.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installparttwo.sh b/installparttwo.sh index 435c619..8a512fa 100644 --- a/installparttwo.sh +++ b/installparttwo.sh @@ -39,7 +39,9 @@ sudo systemctl enable CosmicPi-UI.service echo "--- changing static ip address to 192.168.12.1 in standalone mode---" cp -f dhcpcd.conf /etc/dhcpcd.conf +sudo systemctl stop dnsmasq cp -f dnsmasq.conf /etc/dnsmasq.conf +sudo systemctl start dnsmasq #echo"--- preventing this script from running next reboot ---" #chmod +x normalrc.local