mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
restart info
This commit is contained in:
parent
42b844ee3b
commit
6e39e277ae
1 changed files with 2 additions and 3 deletions
|
@ -52,7 +52,7 @@ network={
|
|||
sudo mv /home/admin/wpa_supplicant.conf /boot/wpa_supplicant.conf
|
||||
sudo chmod 755 /boot/wpa_supplicant.conf
|
||||
|
||||
echo "# OK - reboot needed to activate new WIFI settings"
|
||||
echo "# OK - reboot needed to activate new WIFI settings - use command: restart"
|
||||
exit 0
|
||||
|
||||
elif [ "$1" == "off" ]; then
|
||||
|
@ -65,8 +65,7 @@ update_config=1"
|
|||
sudo mv /home/admin/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf
|
||||
sudo chmod 600 /etc/wpa_supplicant/wpa_supplicant.conf
|
||||
|
||||
sudo service networking restart
|
||||
echo "# OK - WIFI should now be off"
|
||||
echo "# OK - reboot needed to turn WIFI off - use command: restart"
|
||||
exit 0
|
||||
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue