Startup script

Turner, Ryan Ryan.Turner at analog.com
Mon Apr 28 07:37:14 PDT 2003


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 at vt.edu


 



More information about the freebsd-questions mailing list