wpa_supplicant: support OPTS in run script
This commit is contained in:
parent
30db7a6cc4
commit
fdf0104cb2
2 changed files with 3 additions and 1 deletions
|
@ -1 +1,3 @@
|
|||
WPA_INTERFACE=wlan0
|
||||
# Uncommept to enable syslog logging instead of stdout
|
||||
#OPTS="-s"
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
[ -r ./conf ] && . ./conf
|
||||
: ${WPA_INTERFACE:=wlan0}
|
||||
exec 2>&1
|
||||
exec wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i ${WPA_INTERFACE}
|
||||
exec wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i ${WPA_INTERFACE} ${OPTS}
|
||||
|
|
Loading…
Reference in a new issue