From 73bd5f2af529b64cd06ecca773e0c0e26667a648 Mon Sep 17 00:00:00 2001 From: Jason Burgett Date: Wed, 21 Mar 2018 20:24:40 +0000 Subject: [PATCH] Added a delayed re-launch of the ISC DHCP Server service as a solution to the server appearently trying to start too soon on Raspberry Pi Zero W's --- Reset Device/static_files/aphost_bootstrapper.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Reset Device/static_files/aphost_bootstrapper.template b/Reset Device/static_files/aphost_bootstrapper.template index 0db87d1b..8b089f05 100755 --- a/Reset Device/static_files/aphost_bootstrapper.template +++ b/Reset Device/static_files/aphost_bootstrapper.template @@ -4,4 +4,8 @@ python3 [[project_dir]]/Reset\ Device/reset.py & su -c "cd [[project_dir]]/Configuration\ App/ && rails s -b 0.0.0.0 -e production -p 9191 -d" +sleep 5 + +systemctl start isc-dhcp-server.service + hostapd -dd /etc/hostapd/hostapd.conf &