Date: Mon, 18 Mar 2002 02:58:25 -0800 From: "Jesse Geddis" <sgeine@yahoo.com> To: "FreeBSD-Questions" <freebsd-questions@FreeBSD.ORG> Subject: startup scripts Message-ID: <NGBBKILMGLGEDIHMGJANAEFFCBAA.sgeine@yahoo.com>
next in thread | raw e-mail | index | archive | help
not sure why this hasn't been working I can run the script manually
successfully but it doesn't seem to be run at boot. any ideas?
'/usr/local/etc/rc.d/setiathome start' works
FreeBSD skye.sgeine.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Fri Mar 8
11:35:16 GMT 2002 sgeine@skye.sgeine.net:/usr/src/sys/compile/Skye
i386
rc.conf
local_startup="/usr/local/etc/rc.d"
ls -al /usr/local/etc/rc.d
total 3
drwxr-xr-x 2 root wheel 512 Mar 18 10:54 .
drwxr-xr-x 4 root wheel 512 Mar 5 07:44 ..
-rwxr-xr-x 1 root wheel 382 Mar 18 10:54 setiathome
skye:/usr/local/etc/rc.d# cat setiathome
#!/bin/sh
echo -n 'Starting SETI@Home v3.03'
case "$1" in
start)
chdir /usr/home/seti
/usr/home/seti/setiathome -nice 19 -email > /dev/null 2>
/dev/null &
;;
stop)
kill -9 `cat /usr/home/seti/pid.sah`
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
exit 64
;;
esac
exit 0
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NGBBKILMGLGEDIHMGJANAEFFCBAA.sgeine>
