Date: Tue, 3 Nov 1998 10:27:20 -0400 (AST) From: Antonio Bemfica <bemfica@militzer.me.tuns.ca> To: Dark Thunder <dthunder@ZLA.ML.ORG> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: About INITTAB Message-ID: <Pine.BSF.3.96.981103101937.410A-100000@militzer.me.tuns.ca> In-Reply-To: <Pine.LNX.3.96.981103003945.23734A-100000@ZLA.ML.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
You may specify directories to be searched for user scripts at boot time. See the "local_startup=" line in the /etc/rc.conf file. One of the default places is "/usr/local/etc/rc.d" - just drop a *.sh script there and it will be executed (it seems "/etc/rc.local" is no longer recommended). Check the examples section of the su man page for ways of running a program as a different user. Antonio On Tue, 3 Nov 1998, Dark Thunder wrote: > How to create a inittab in FBSD, so FBSD will auto load (with different > userid, not root) the program and keep it alive after reboot? Please > email me at dthunder@zla.ml.org. 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?Pine.BSF.3.96.981103101937.410A-100000>
