Skip to content

Commit

Permalink
use ubus call hostapd reload instead of broken HUP
Browse files Browse the repository at this point in the history
fixes #93
  • Loading branch information
maurerle committed Jun 10, 2024
1 parent 21e7038 commit f1e4678
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ffac-ssid-changer/shsrc/ssid-changer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,9 @@ elif [ "$CHECK" -eq 0 ]; then
fi
if [ $HUP_NEEDED = 1 ]; then
# send HUP to all hostapd to load the new SSID
killall -HUP hostapd
# HUP does not work with openwrt-23.05 somehow, use ubus reload
# to load the new SSID
ubus call hostapd reload
## check for nonmatching hostapd-pidfiles
if [ -f /lib/gluon/eulenfunk-hotfix/check_hostapd.sh ] ; then
sleep 2 # settle down
Expand Down

0 comments on commit f1e4678

Please sign in to comment.