You are not logged in.
Pages: 1
How do I go about making SSHd start late, say after WPA_Supplicant? I have wpa_supplicant [options] written into the rc.local file, so it begins when the system boots, no matter what, but how do I go about making sure SSHd starts AFTER that? It always starts earlier in the boot cycle, meaning it fails to find a network connection and refuses connections until I restart the service.
I want it to start late so it starts AFTER wpa_supplicant, meaning that the comp will definately be connected to the wifi at that point, so SSHd will detect an internet connection and start up as usual? Ideas?
Thanks!
[SOVLED] That worked for me! Thanks alot!
Last edited by suplegolas (2009-10-11 18:34:17)
Offline
Stuff in /etc/rc.local runs after everything in the /etc/rc.conf so you'll have to add a line in for sshd before our other app in the rc.local or make a daemon out of the other app and have it run from the rc.conf before sshd in the array.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I'd say do the first thing graysky said: remove ssh from DAEMONS and do
(sleep 10 && /etc/rc.d/sshd start &)
in your rc.local
Offline
Pages: 1