https://bugzilla.novell.com/show_bug.cgi?id=387202 User x_pedro_x@hotmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=387202#c61 --- Comment #61 from Pedro Oliveira <x_pedro_x@hotmail.com> 2008-12-09 06:00:08 MST --- Sorry, I forgot the second scrip to make the previous one start automatically from RC. Just create this executable file: /etc/init.d/nscd_check #!/bin/sh ### BEGIN INIT INFO # Provides: nscd_check # Required-Start: nscd # Should-Start: # Required-Stop: # Should-Stop: # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: check for nscd # Description: check if nscd is running and restarts it if not ### END INIT INFO # /etc/rc.status # Reset status of this service rc_reset case "$1" in start) echo -n "Starting nscd_check" nohup /sbin/nscd_check >> /var/log/messages & rc_status -v ;; stop) echo -n "Shutting down nscd_check" pkill nscd_check rc_status -v ;; restart) $0 stop $0 start rc_status ;; *) echo "Usage: $0 {start|stop}" exit 1 ;; esac rc_exit ##################################### after this just type: insserv nscd_check hope it helps. ---------------------------------------------------------------------------------------------------------- Pedro Oliveira IT Consultant Email: pmsoliveira@gmail.com URL: http://pedro.linux-geex.com Telefone: +351 96 5867227 ---------------------------------------------------------------------------------------------------------- -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.