3 # wpa_supplicant/rc.main
5 # Wi-Fi Protected Access client and IEEE 802.1X supplicant.
8 # Redirects the standard error to the standard output
12 SVNAME
="${2:-wpa_supplicant}"
16 echo "*** ${SVNAME}: Starting wpa_supplicant ..."
18 # Check if the dbus daemon is running
21 echo "${SVNAME}: Dependency 'dbus' not running." 1>&2
25 exec /usr
/sbin
/wpa_supplicant
-u -c /etc
/wpa_supplicant.conf
32 echo "*** ${SVNAME}: Exited status $4"
35 echo "*** ${SVNAME}: Killed on signal $5"
38 echo "*** ${SVNAME}: Stopped (${3})"