Hi, On Thu, Jun 29 2000 at 13:29 -0500, Rob Wright wrote:
I need to set ssh up to run full-time on my system, and start at boot. So far I've read the man pages for init.d, edited the skeleton file for sshd, and got all the ssh files in the correct places, other than the links in the rc.d directories. Now I just need a little help tying it altogether, mainly with the rc.config file. There isn't already a line in my rc.config to START_SSHD, and I'm wondering if I can just add that in myself manually or through YaST. I didn't see how in YaST to add something that isn't already present. So, can I just edit the rc.config with START_SSHD, then run SuSEconfig and be ok or am I missing something somewhere?
You can add it manually. Make sure your /sbin/init.d/sshd script does evaluate it: --------------------------------------------------------> . /etc/rc.config # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} # Force execution if not called by a runlevel directory. test $link = $base && START_SSHD=yes test "$START_SSHD" = yes || exit 0 <-------------------------------------------------------- Btw. you don't have to run SuSEconfig in this case. Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq