Re: How to change order of services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrea wrote:
Hi,

I am trying to change the order of the service wpa_supplicant.
I want it to run before "network".

So I have changed /etc/rc.d/init.d/wpa_supplicant

# chkconfig:   - 23 88

to

# chkconfig:   - 9 91

Bear in mind that network has the following
# chkconfig: - 10 90

Then I deselect and reselect it in ntsysv.
Everything works fine, and at reboot wpa_supplicant starts before network.

But whenever I update the system, wpa_supplicant goes back to the original position (even if the file has not changed), after network.

What am I missing?

When you turned on wpa_supplicant with chkconfig, it creates symbolic links in the various rc.d directories which begin with either S or K (start or kill) and the numbers (priorities). Just changing the file in /etc/init.d doesn't change these links. You have to use chkconfig to turn them off or delete them, and then add them back again to get the new links. *OR* you could change the file by hand, and then change all of the links names to contain the new numbers by hand. One is easier than the other. You decide which.

Andrea



--
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux