]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- assume default WLAN_WPA_CONFIG=/etc/wpa_supplicant.conf
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 29 Oct 2007 11:29:51 +0000 (11:29 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 29 Oct 2007 11:29:51 +0000 (11:29 +0000)
svn-id: @8897

sysconfig/network-scripts/ifup

index 51a1f07dd277559192efcf2dfb733c14a295a193..5231222a235db46ff59e90468d761f105286c9f0 100755 (executable)
@@ -109,7 +109,7 @@ if is_wireless_device "${DEVICE}"; then
        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
 
This page took 0.029461 seconds and 4 git commands to generate.