Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2003 18:35:10 -0500
From:      "fbsd_user" <fbsd_user@a1poweruser.com>
To:        "gffds fsdff" <eurijk666@hotmail.com>, <questions@FreeBSD.org>
Subject:   RE: The Booting Process
Message-ID:  <MIEPLLIBMLEEABPDBIEGKENAFBAA.fbsd_user@a1poweruser.com>
In-Reply-To: <BAY7-F30gCT49PXcdKE000152fc@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org]On Behalf Of gffds fsdff
Sent: Wednesday, December 24, 2003 6:25 PM
To: questions@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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGKENAFBAA.fbsd_user>