I need to start 3 daemons at boot time. My method now is to start
them by hand after a reboot. I thought I could add the commands to
/etc/inittab but I couldn't get it to work. I saw a similar post in
the list archives but I haven't been able to get that guy's method to
work either.
I made a script /sbin/init.d/local and linked it to
/sbin/rc3.d/S96local. My problem is that I need to start one of the
daemons in the background. I can't seem to get the "&" syntax
correct. Here's what I came up with:
#!/sbin/sh
#
/usr/lib/mh/popd -p 110 >&/dev/null &
#
/usr/local/cap/cap60/etc/start-cap-servers >&/dev/null
#
/usr/local/etc/httpd/httpd -d /usr/local/etc/httpd/
I only need to start "popd" in the background. I want to redirect
output from the first 2 commands to /dev/null. Can anyone see what
I'm doing wrong?
Thanks so much if you can help.
Regards,
Matt Harrington
--
Matt Harrington matt_at_sbl.salk.edu
The Salk Institute http://sbl.salk.edu/~matt
San Diego, CA
Received on Mon Jul 24 1995 - 08:32:55 NZST