I am trying to move the priority of the wpa_supplicant init.d script.
The script is modified to the new priorities and header looks like this:
/etc/init.d/wpa_supplicant:
Code:
#!/bin/bash
#
# wpa_supplicant
#
# chkconfig: - 09 91
# description: wpa_supplicant is a WPA Supplicant for Linux, BSD and \
# Windows with support for WPA and WPA2 (IEEE 802.11i / RSN). Supplicant \
# is the IEEE 802.1X/WPA component that is used in the client stations. \
# It implements key negotiation with a WPA Authenticator and it controls \
# the roaming and IEEE 802.11 authentication/association of the wlan driver.
# processname: wpa_supplicant
# config: /etc/wpa_supplicant/wpa_supplicant.conf
#
### BEGIN INIT INFO
# Provides: wpa_supplicant
# Required-Start: $local_fs messagebus
# Required-Stop: $local_fs messagebus
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start and stop wpa_supplicant
# Description: wpa_supplicant is a tool for connecting to wireless networks
### END INIT INFO
I tried several commands to get the symlinks updated to fit the new entry:
Code:
chkconfig --level 2345 wpa_supplicant off
chkconfig --level 2345 wpa_supplicant on
Code:
chkconfig --level 2345 wpa_supplicant reset
Code:
chkconfig --level 2345 wpa_supplicant resetpriorities
But none of the changes the symlink:
Code:
ls /etc/rc*.d/|grep wpa
K84wpa_supplicant
K84wpa_supplicant
S23wpa_supplicant
S23wpa_supplicant
S23wpa_supplicant
S23wpa_supplicant
K84wpa_supplicant
Any suggestions?