Skip to content

Commit

Permalink
Work towards lncm#250 (update init.d)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolim1t committed Nov 20, 2019
1 parent 864f5b8 commit ebb0f70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/init.d/wpa_supplicant
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ check_config_exists()
if [[ -f /media/mmcblk0p1/wpa_supplicant.conf ]]; then
echo "File exists; copying WPA supplicant file across"
cp /media/mmcblk0p1/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf
chmod 644 /etc/wpa_supplicant/wpa_supplicant.conf
chmod 600 /etc/wpa_supplicant/wpa_supplicant.conf
chown root.root /etc/wpa_supplicant/wpa_supplicant.conf
mount -o rw,remount /media/mmcblk0p1
rm /media/mmcblk0p1/wpa_supplicant.conf
mount -o ro,remount /media/mmcblk0p1
Expand Down

0 comments on commit ebb0f70

Please sign in to comment.