From 1893c695906d43dfe77156ff2a2eece60f417213 Mon Sep 17 00:00:00 2001 From: Adorfer Date: Wed, 15 Jul 2020 16:12:22 +0200 Subject: [PATCH] calling eulenfunk-hostapdcheck after -HUP --- gluon-ssid-changer/shsrc/ssid-changer.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gluon-ssid-changer/shsrc/ssid-changer.sh b/gluon-ssid-changer/shsrc/ssid-changer.sh index cf0f73d..4127790 100755 --- a/gluon-ssid-changer/shsrc/ssid-changer.sh +++ b/gluon-ssid-changer/shsrc/ssid-changer.sh @@ -170,6 +170,10 @@ fi if [ $HUP_NEEDED = 1 ]; then # send HUP to all hostapd to load the new SSID killall -HUP hostapd + ## check for nonmachting hotapd-pidfiles + if [ -f /lib/gluon/eulenfunk-hotfix/check_hostapd.sh ] ; then + sleep 2 # settle down + ps|grep hostapd|grep .pid|xargs -n 10 /lib/gluon/eulenfunk-hotfix/check_hostapd.sh HUP_NEEDED=0 echo "HUP!" fi