The Booting Process
fbsd_user
fbsd_user at a1poweruser.com
Wed Dec 24 15:52:13 PST 2003
Yes there is just such a place
Your launch script should look like this.
File name some-name.sh
#!/bin/sh
exec /usr/servers/bots/zDSBot3/zDSBot3 &
put it in /usr/local/etc/rc.d/
The permission on this script file must be read, write, exec for
owner root.
Chmod 700 /usr/local/etc/rc.d/some-name.sh
During the boot process after rc.conf gets executed then any file in
/usr/local/etc/rc.d/ that ends with .sh gets executed. That's where
dhcp, apache and all other ports get launched from at boot time.
-----Original Message-----
From: owner-freebsd-questions at freebsd.org
[mailto:owner-freebsd-questions at freebsd.org]On Behalf Of gffds fsdff
Sent: Wednesday, December 24, 2003 6:25 PM
To: questions at FreeBSD.org
Subject: The Booting Process
Is there a way, when booting, to have an application launch?
Ex:
exec /usr/servers/bots/zDSBot3/zDSBot3 &
Where would I add this line, if possible? If not, would it be
possible to be
made in the next version?
Thanks,
- A Guy
_________________________________________________________________
Expand your wine savvy - and get some great new recipes - at MSN
Wine.
http://wine.msn.com
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list