Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 10:36:07 -0400
From:      "Turner, Ryan" <Ryan.Turner@analog.com>
To:        <questions@freebsd.org>
Subject:   Startup script
Message-ID:  <4F19D8A3D7B26247A4481AE28348A84840886E@gboexm2.ad.analog.com>

next in thread | raw e-mail | index | archive | help
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



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


=20



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