summaryrefslogtreecommitdiff
path: root/etc/rc.shutdown
AgeCommit message (Collapse)Author
2011-04-22Move the rc.d(8) bits from rc.{local,shutdown} directly into /etc/rc.Antoine Jacoutot
By default, rc.{local,shutdown} don't output anything anymore. original idea from schwarze@ discussed with deraadt@ and no objection from millert@ ok schwarze@ robert@
2011-03-17- introduce the INRC environment variable so that rc.subr(8) knows if itRobert Nagy
gets called from rc.local or rc.shutdown - notify the user if a given operation was successfull or not by appending the (ok) or (failed) strings to the end of the daemon name - hide stdout and stdin unless RC_DEBUG=1 is set, otherwise all the function names will be printed out and all output sent to stdin or stdout - since from now on rc.subr is taking care of printing out the daemon names on startup, we don't need to do this from rc.{local,shutdown} anymore brainkilling work done by me and ajacoutot@, ok ajacoutot@
2010-11-26Do like in rc.local and print the daemon name before running rc_stop.Antoine Jacoutot
ok robert@
2010-11-17Consistency and remove the >50 spaces after 'do'...Antoine Jacoutot
ok robert@
2010-10-26Add a simple 'rc' system to base in order to start/stop/restart/reloadRobert Nagy
services installed by the ports system (for now). It only uses pgrep/pkill to handle these processes. A manual page will come later. 'put it in' deraadt@
2006-06-22ok there is a good reason not to do this yetTheo de Raadt
2006-06-21make powerdown the default; discussed with jasonTheo de Raadt
1999-09-03have shutdown code run /etc/rc with arg of "shutdown"; rc.shutdown becomes ↵Theo de Raadt
completely admin-editable
1999-07-25silence chmod too, for non-writeable /var; friesTheo de Raadt
1999-07-20do not use -n with user-edited section betweenTheo de Raadt
1999-07-15move /etc/host.random to /var/db for readonly /, save the entropy stateNiels Provos
into /var/db/host.random at shutdown time, so we can make use of it during reboot to seed our random pool. ok millert@ angelos@ niklas@
1999-07-06your basic rc.shutdown fileTheo de Raadt