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:
parent
18d32b2b8d
commit
d032dfa7a6
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue