mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update 50-hostapd
This commit is contained in:
parent
d032dfa7a6
commit
0bfc7e9b28
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ if [ "$interface" = "wlan0" ]; then
|
||||||
echo "Editing Hostapd for channel $FREQ2"
|
echo "Editing Hostapd for channel $FREQ2"
|
||||||
cp /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf
|
cp /etc/hostapd/hostapd.conf.iiab /etc/hostapd/hostapd.conf
|
||||||
sed -i -e "s/^channel.*/channel=$FREQ /" /etc/hostapd/hostapd.conf
|
sed -i -e "s/^channel.*/channel=$FREQ /" /etc/hostapd/hostapd.conf
|
||||||
echo "THIS MACHINE SHOULD BE REBOOTED"
|
echo "THIS MACHINE SHOULD BE REBOOTED"
|
||||||
syslog info "THIS MACHINE SHOULD BE REBOOTED"
|
syslog info "THIS MACHINE SHOULD BE REBOOTED"
|
||||||
# systemctl restart hostapd
|
# systemctl restart hostapd
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue