Improvements discussed in #404
parent
9cfa0f467e
commit
b5837490ed
|
@ -35,7 +35,7 @@ setup () {
|
||||||
|
|
||||||
# Read hostapd.conf with interface from stdin for
|
# Read hostapd.conf with interface from stdin for
|
||||||
# backward compatibility (hostapd < v2.6). See #398
|
# backward compatibility (hostapd < v2.6). See #398
|
||||||
echo -e "`cat hostapd.conf`\ninterface=$WLAN" | sudo hostapd /dev/stdin
|
printf "$(cat hostapd.conf)\ninterface=$WLAN" | sudo hostapd /dev/stdin
|
||||||
}
|
}
|
||||||
|
|
||||||
cleanup () {
|
cleanup () {
|
||||||
|
|
Loading…
Reference in New Issue