Remove whitespace
This commit is contained in:
parent
a0bdadcfd4
commit
0bf3e93321
|
@ -3,8 +3,8 @@
|
|||
# Install the proper hostapd package and adjust the hostapd configuration
|
||||
# accordingly.
|
||||
|
||||
## Default
|
||||
WIFI_DEVICE="wlan0"
|
||||
## Default
|
||||
WIFI_DEVICE="wlan0"
|
||||
|
||||
WIFI_CONFIG_PATH="/boot/wifi_card.conf"
|
||||
|
||||
|
@ -29,7 +29,7 @@ sed -i -e "s|interface=$hostap_interface|interface=$WIFI_DEVICE|" "${CONFIG_PATH
|
|||
#Only change piratebox interface if it is a wifi interface
|
||||
if echo "$piratebox_interface" | grep -q "wlan" ; then
|
||||
sed -i -e "s|INTERFACE=\"$piratebox_interface\"|INTERFACE=\"$WIFI_DEVICE\"|" \
|
||||
"${PIRATEBOX_CONFIG_PATH}"
|
||||
"${PIRATEBOX_CONFIG_PATH}"
|
||||
fi
|
||||
if echo "$dnsmasq_interface" | grep -q "wlan" ; then
|
||||
sed -i -e "s|DNSMASQ_INTERFACE=\"$dnsmasq_interface\"|DNSMASQ_INTERFACE=\"$WIFI_DEVICE\"|" \
|
||||
|
|
Loading…
Reference in New Issue