nk23x
4/25/2016 - 11:32 AM

/etc/rc.d/rc.wpa

/etc/rc.d/rc.wpa

#/bin/bash
## /etc/rc.d/rc.wpa [stop | start]

if [[ "$1" ]]; then
  case "${1}" in 
    'stop')
       pkill -9 wpa_
    ;; 
  esac
else 
   /usr/sbin/wpa_supplicant -Dwext  -iwlan0 -c/etc/wpa_supplicant.conf -B 
fi
exit 0