You are not logged in.
Pages: 1
I'm wondering if it's possible to skip a deamon from starting during bootup? If my notebook is not plugged into a wired network and the wireless killswitch is on, my system hangs on starting the network daemon until it eventually times out and continues booting. IIRC you can do something similar on Debian by issuing a Ctrl+c at the appropriate time. I've done some forum/wiki searches but came up empty.
If it may not be possible to skip a service from starting, may anyone be willing to give me some pointers on how to reduce the timeout for the network daemon (I've looked at /etc/rc.d/network, but wasn't sure if that's where I should to be looking)?
Any help would be very appreciated!
Last edited by arbrown (2007-06-06 11:13:33)
Offline
you can put a ! before the network daemon in /etc/rc.conf
e.g.
DAEMONS=(!network)http://wiki.archlinux.org/index.php/Rc.conf#Daemons
Last edited by SiD (2007-06-06 11:22:11)
Offline
you can put a ! before the network daemon in /etc/rc.conf
Thanks for the response! I was hoping for something a little more on the fly though. I'm connected to a network ~90% of the time so I'd like to keep the network daemon enabled in rc.conf, and skip it only in the rare case that there's no network available. Maybe I'm being a little too picky and should just wait for the default timeout to take effect in those cases?
EDIT: meh, didn't even think about backgrounding the daemon. Seems a bit like a dirty hack, but it appears to be working.
Last edited by arbrown (2007-06-06 11:30:26)
Offline
backgrounding is probably the best way, its not really a 'hack' it just allows other processess to be started in parallel. I think there is a way though how you can prompt at bootime for a wireless profile selection so you could have 'on' and 'off'.
Offline
You you were a Gentoo user, there a awesome feature that exist...ifplug.
If you are wired, it start the eth0, and if not it search for the wifi ![]()
Offline
i imagine you could write a bash script to do this...
"Your beliefs can be like fences that surround you.
You must first see them or you will not even realize that you are not free, simply because you will not see beyond the fences.
They will represent the boundaries of your experience."
SETH / Jane Roberts
Offline
there is an assigned bug report..
Offline
Pages: 1