Startup script
Eduardo Viruena Silva
mrspock at esfm.ipn.mx
Mon Apr 28 08:06:02 PDT 2003
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 at vt.edu
>
>
>
>
> _______________________________________________
> 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"
>
- ______ _
* / /###\ / \ __
/\ /\ * / ./#### \ * \__|_/ | |
/ \/ \ | b#####| * _ | __ | | __
= .. \____ \ \_\#####/ / \| / \ | | /\_\/
= \_| * \___\###/ * \_/\_/\__/\__\/_/\__/
= \______/ _
| |
More information about the freebsd-questions
mailing list