1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-12 19:22:24 +00:00
This commit is contained in:
Jerry Vonau 2022-05-19 14:01:25 -05:00
parent a8ca92a9b3
commit 39bf6fe32c

View file

@ -6,7 +6,7 @@ if [ "$interface" = "br0" ] && [ $if_up = "true" ]; then
echo "50-iiab set country_code $WPA"
syslog info "50-iiab set country_code $WPA"
echo "THIS MACHINE SHOULD BE REBOOTED"
syslog info "THIS MACHINE SHOULD BE REBOOTED"
syslog info "THIS MACHINE SHOULD BE REBOOTED 50-iiab country_code"
# systemctl restart hostapd
fi
syslog info "50-iiab IF_UP br0 restarting dnsmasq - kicking ap0"
@ -40,7 +40,7 @@ if [ "$interface" = "wlan0" ]; then
cp /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf
sed -i -e "s/^channel.*/channel=$FREQ /" /etc/hostapd/hostapd.conf
echo "THIS MACHINE SHOULD BE REBOOTED"
syslog info "THIS MACHINE SHOULD BE REBOOTED"
syslog info "THIS MACHINE SHOULD BE REBOOTED 50-iiab channel"
# systemctl restart hostapd
fi
fi