SVN: rc-scripts/trunk/sysconfig/network-scripts/ifup
glen
glen at pld-linux.org
Mon Oct 29 12:29:51 CET 2007
Author: glen
Date: Mon Oct 29 12:29:51 2007
New Revision: 8897
Modified:
rc-scripts/trunk/sysconfig/network-scripts/ifup
Log:
- assume default WLAN_WPA_CONFIG=/etc/wpa_supplicant.conf
Modified: rc-scripts/trunk/sysconfig/network-scripts/ifup
==============================================================================
--- rc-scripts/trunk/sysconfig/network-scripts/ifup (original)
+++ rc-scripts/trunk/sysconfig/network-scripts/ifup Mon Oct 29 12:29:51 2007
@@ -109,7 +109,7 @@
is_yes "${WLAN_UPEARLY}" && ip link set ${DEVICE} up
wireless_param ${DEVICE}
if is_yes "${WLAN_WPA}"; then
- /usr/sbin/wpa_supplicant -B -w -D ${WLAN_WPA_DRIVER} -c ${WLAN_WPA_CONFIG} -i ${DEVICE} ${WLAN_WPA_OPTIONS} -P "/var/run/wpa_supplicant-${DEVICE}.pid"
+ /usr/sbin/wpa_supplicant -w -D ${WLAN_WPA_DRIVER} -c ${WLAN_WPA_CONFIG:-/etc/wpa_supplicant.conf} -i ${DEVICE} ${WLAN_WPA_OPTIONS} -P "/var/run/wpa_supplicant-${DEVICE}.pid" -B
fi
fi
More information about the pld-cvs-commit
mailing list