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