| Server IP : 193.86.120.172 / Your IP : 216.73.216.67 Web Server : Apache/2.4.63 (Unix) System : Linux JServices 3.10.108 #86003 SMP Wed Oct 22 13:20:46 CST 2025 x86_64 User : kubec ( 1026) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /etc/init/ |
Upload File : |
description "wpa_supplicant" author "Network Appliance Team" stop on runlevel [06] console log expect fork respawn respawn limit 5 10 instance $IFACE pre-start script if [ ! -f "$CFG" -o -z "$IFACE" -o -z "$DRIVER" -o -z $PIDFILE ]; then echo "$CFG or $IFACE or $DRIVER or $PIDFILE not found!" logger -p err -t hostap "wpa_supplicant config: $CFG or $IFACE or $DRIVER or $PIDFILE not found, aborting" exit 1 fi end script script if [ -z "$BRIDGE" ]; then exec /usr/sbin/wpa_supplicant -B -t -D $DRIVER -i $IFACE -c $CFG -P $PIDFILE else exec /usr/sbin/wpa_supplicant -B -t -D $DRIVER -i $IFACE -c $CFG -P $PIDFILE -b $BRIDGE fi end script post-stop script iwconfig $IFACE essid off || true ifconfig $IFACE down || true end script # vim:ft=upstart