From 9fc6caec0d9d40f69f48838645fd232df3963b06 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 28 Mar 2017 17:30:05 +0200 Subject: [PATCH] cpe: stop dnsmasq+uhttpd on aps --- salt/cpe/ap.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/salt/cpe/ap.sh b/salt/cpe/ap.sh index b622353..e1a5192 100644 --- a/salt/cpe/ap.sh +++ b/salt/cpe/ap.sh @@ -339,6 +339,11 @@ __SH__ chmod a+rx /usr/sbin/wifi-on-link.sh /etc/init.d/cron restart +for svc in dnsmasq uhttpd ; do + rm /etc/rc.d/*\$svc + /etc/init.d/\$svc stop +done + {%- if conf.get('firstboot') %} reboot {%- endif %}