Skip to content

Commit 0bf3e93

Browse files
committed
Remove whitespace
1 parent a0bdadc commit 0bf3e93

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

piratebox/piratebox/rpi/bin/wifi_detect.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Install the proper hostapd package and adjust the hostapd configuration
44
# accordingly.
55

6-
## Default
7-
WIFI_DEVICE="wlan0"
6+
## Default
7+
WIFI_DEVICE="wlan0"
88

99
WIFI_CONFIG_PATH="/boot/wifi_card.conf"
1010

@@ -29,7 +29,7 @@ sed -i -e "s|interface=$hostap_interface|interface=$WIFI_DEVICE|" "${CONFIG_PATH
2929
#Only change piratebox interface if it is a wifi interface
3030
if echo "$piratebox_interface" | grep -q "wlan" ; then
3131
sed -i -e "s|INTERFACE=\"$piratebox_interface\"|INTERFACE=\"$WIFI_DEVICE\"|" \
32-
"${PIRATEBOX_CONFIG_PATH}"
32+
"${PIRATEBOX_CONFIG_PATH}"
3333
fi
3434
if echo "$dnsmasq_interface" | grep -q "wlan" ; then
3535
sed -i -e "s|DNSMASQ_INTERFACE=\"$dnsmasq_interface\"|DNSMASQ_INTERFACE=\"$WIFI_DEVICE\"|" \

0 commit comments

Comments
 (0)