From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075321606636.tru64-unix-managers.marc@archive.invalid> From: matt () perutz ! salk ! edu Date: Mon, 24 Jul 1995 06:12:22 +0000 To: tru64-unix-managers Subject: Adding things to the startup script? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075321606636 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@sbl.salk.edu The Salk Institute http://sbl.salk.edu/~matt San Diego, CA