1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

add loud reboot message

This commit is contained in:
Jerry Vonau 2020-09-07 20:28:13 -05:00
parent 18d32b2b8d
commit d032dfa7a6

View file

@ -28,6 +28,8 @@ if [ "$interface" = "wlan0" ]; then
echo "Editing Hostapd for channel $FREQ2"
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"
# systemctl restart hostapd
fi
fi