Skip to content

Commit

Permalink
Update change_router_ssidpw.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
elschnorro77 authored Mar 5, 2020
1 parent 306ebc3 commit 67f6286
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 @@ -4,4 +4,4 @@ ssid=$1;
pw=$2;

sudo sed -i "s/psk=.*/psk=\"$pw\"/" /etc/wpa_supplicant/wpa_supplicant.conf;
sudo sed -i "s/ssid=.*/ssid=\"$ssid\"/" /etc/wpa_supplicant/wpa_supplicant.conf;
sudo sed -i "s/^[[:blank:]]*ssid=.*/ssid=\"$ssid\"/" /etc/wpa_supplicant/wpa_supplicant.conf;

0 comments on commit 67f6286

Please sign in to comment.