mirror of
https://github.com/km4ack/pi-scripts
synced 2026-08-13 17:52:05 -04:00
fix sed command and +x autohotspotN
This commit is contained in:
parent
12650c79bd
commit
3ffd90319a
1 changed files with 2 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ sed -i 's/country_code=GB/country_code=US/' $HOME/temp/hostapd.txt
|
|||
#move hostapd to correct location
|
||||
mv $HOME/temp/hostapd.txt /etc/hostapd/hostapd.conf
|
||||
|
||||
sed -i s'/#DAEMON_CONF=""/DAEMON_CONF="/etc/hostapd/hostapd.conf"/' /etc/default/hostapd
|
||||
sed -i s'/#DAEMON_CONF=""/DAEMON_CONF="\/etc\/hostapd\/hostapd.conf"/' /etc/default/hostapd
|
||||
sed -i s'/DAEMON_OPTS=""/#DAEMON_OPTS=""/' /etc/default/hostapd
|
||||
|
||||
#add needed info to dnsmasq.conf
|
||||
|
|
@ -88,6 +88,7 @@ fi
|
|||
cd $HOME/temp
|
||||
wget http://www.raspberryconnect.com/images/autohotspotN/autohotspotn-95-4/autohotspotN.txt
|
||||
mv autohotspotN.txt /usr/bin/autohotspotN
|
||||
chmod +x /usr/bin/autohotspotN
|
||||
|
||||
#get ham's wifi credentials
|
||||
echo "What wifi SSID would you like to connect to?"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue