From fdf0104cb256f1f2d7ab3de9b47651a990bf046d Mon Sep 17 00:00:00 2001 From: bougyman Date: Thu, 26 Mar 2015 15:32:33 -0500 Subject: [PATCH] wpa_supplicant: support OPTS in run script --- srcpkgs/wpa_supplicant/files/wpa_supplicant/conf | 2 ++ srcpkgs/wpa_supplicant/files/wpa_supplicant/run | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/wpa_supplicant/files/wpa_supplicant/conf b/srcpkgs/wpa_supplicant/files/wpa_supplicant/conf index f8e4231118..162f46274f 100644 --- a/srcpkgs/wpa_supplicant/files/wpa_supplicant/conf +++ b/srcpkgs/wpa_supplicant/files/wpa_supplicant/conf @@ -1 +1,3 @@ WPA_INTERFACE=wlan0 +# Uncommept to enable syslog logging instead of stdout +#OPTS="-s" diff --git a/srcpkgs/wpa_supplicant/files/wpa_supplicant/run b/srcpkgs/wpa_supplicant/files/wpa_supplicant/run index d09cd61204..82f3c6479a 100755 --- a/srcpkgs/wpa_supplicant/files/wpa_supplicant/run +++ b/srcpkgs/wpa_supplicant/files/wpa_supplicant/run @@ -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}