Date: Mon, 28 Apr 2003 10:05:31 -0500 (CDT) From: Eduardo Viruena Silva <mrspock@esfm.ipn.mx> To: "Turner, Ryan" <Ryan.Turner@analog.com> Cc: questions@freebsd.org Subject: Re: Startup script Message-ID: <20030428100502.U51776@Gina.esfm.ipn.mx> In-Reply-To: <4F19D8A3D7B26247A4481AE28348A84840886E@gboexm2.ad.analog.com> References: <4F19D8A3D7B26247A4481AE28348A84840886E@gboexm2.ad.analog.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Apr 2003, Turner, Ryan wrote: > I want to run a script on startup that will perform some work and then > shut the machine down. My script looks something like this: > > #!/bin/sh > > # do some stuff > > shutdown -h now > perhaps in /etc/rc.local > > > Where should I place this script? I want it to run after entering > multi-user mode and I would like it to run as root. > > > > > Ryan Turner > ryturner@vt.edu > > > > > _______________________________________________ > 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" > - ______ _ * / /###\ / \ __ /\ /\ * / ./#### \ * \__|_/ | | / \/ \ | b#####| * _ | __ | | __ = .. \____ \ \_\#####/ / \| / \ | | /\_\/ = \_| * \___\###/ * \_/\_/\__/\__\/_/\__/ = \______/ _ | |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030428100502.U51776>