We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0bdadc commit 0bf3e93Copy full SHA for 0bf3e93
1 file changed
piratebox/piratebox/rpi/bin/wifi_detect.sh
@@ -3,8 +3,8 @@
3
# Install the proper hostapd package and adjust the hostapd configuration
4
# accordingly.
5
6
-## Default
7
-WIFI_DEVICE="wlan0"
+## Default
+WIFI_DEVICE="wlan0"
8
9
WIFI_CONFIG_PATH="/boot/wifi_card.conf"
10
@@ -29,7 +29,7 @@ sed -i -e "s|interface=$hostap_interface|interface=$WIFI_DEVICE|" "${CONFIG_PATH
29
#Only change piratebox interface if it is a wifi interface
30
if echo "$piratebox_interface" | grep -q "wlan" ; then
31
sed -i -e "s|INTERFACE=\"$piratebox_interface\"|INTERFACE=\"$WIFI_DEVICE\"|" \
32
- "${PIRATEBOX_CONFIG_PATH}"
+ "${PIRATEBOX_CONFIG_PATH}"
33
fi
34
if echo "$dnsmasq_interface" | grep -q "wlan" ; then
35
sed -i -e "s|DNSMASQ_INTERFACE=\"$dnsmasq_interface\"|DNSMASQ_INTERFACE=\"$WIFI_DEVICE\"|" \
0 commit comments