diff options
Diffstat (limited to 'autowifi/autowifi-netcfg')
-rwxr-xr-x | autowifi/autowifi-netcfg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/autowifi/autowifi-netcfg b/autowifi/autowifi-netcfg index 89850ff..df448dc 100755 --- a/autowifi/autowifi-netcfg +++ b/autowifi/autowifi-netcfg @@ -5,8 +5,8 @@ interface=$1; shift -AUTOWIFI="/home/iphitus/netcfg/autowifi/autowifi/autowifi-wpactrl/autowifi" -ACTION_SCRIPT="/home/iphitus/netcfg/autowifi/autowifi-netcfg-action" +AUTOWIFI="/usr/sbin/autowifi" +ACTION_SCRIPT="/usr/bin/autowifi-netcfg-action" PIDFILE="/var/run/wpa_supplicant_${interface}.pid" EXTRA_AUTOWIFI_OPTIONS="$*" @@ -51,10 +51,10 @@ for profile in $(list_profiles); do fi ;; wpa-configsection) - echo -e "$CONFIGSECTION">> "$WPA_CONF" + config="$CONFIGSECTION" ;; *) - continue + exit 1 ;; esac |