Skip to content

Commit

Permalink
undo wpa_cli
Browse files Browse the repository at this point in the history
  • Loading branch information
JavanXD committed Mar 12, 2020
1 parent b51c594 commit f503f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/shell-scripts/change_router_ssidpw.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ sudo sed -i "s/psk=.*/psk=\"$pw\"/" /etc/wpa_supplicant/wpa_supplicant.conf;
sudo sed -i "s/^[[:blank:]]*ssid=.*/ssid=\"$ssid\"/" /etc/wpa_supplicant/wpa_supplicant.conf;

# connect to wifi without reboot
sudo wpa_cli -i wlan0 reconfigure
#sudo wpa_cli -i wlan0 reconfigure

0 comments on commit f503f3d

Please sign in to comment.