rc.shutdown revision 27837
127837Sdavidn#!/bin/sh
227837Sdavidn#	$Id$
327837Sdavidn
427837Sdavidn# site-specific closing actions for daemons run by init on shutdown
527837Sdavidn# or before going single-user from multi-user.
627837Sdavidn# Output and errors are directed to console by init, and the
727837Sdavidn# console is the controlling terminal.
827837Sdavidn
927837Sdavidnstty status '^T'
1027837Sdavidn
1127837Sdavidn# Set shell to ignore SIGINT (2), but not children;
1227837Sdavidn# shell catches SIGQUIT (3) and returns to single user after fsck.
1327837Sdavidntrap : 2
1427837Sdavidntrap : 3	# shouldn't be needed
1527837Sdavidn
1627837SdavidnHOME=/; export HOME
1727837SdavidnPATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
1827837Sdavidnexport PATH
1927837Sdavidn
2027837Sdavidnecho -n Shutting down daemon processes: 
2127837Sdavidn
2227837Sdavidn# Insert shutdown procedures here
2327837Sdavidn
2427837Sdavidn
2527837Sdavidnecho '.'
2627837Sdavidnexit 0
27