version 1.7, 2001/11/19 03:19:28 |
version 1.8, 2002/05/19 01:01:33 |
|
|
# Determine the shutdown order of the /etc/rc.d scripts, |
# Determine the shutdown order of the /etc/rc.d scripts, |
# and perform the operation |
# and perform the operation |
# |
# |
files=`rcorder -k shutdown /etc/rc.d/*` |
files=$(rcorder -k shutdown ${rcshutdown_rcorder_flags} /etc/rc.d/*) |
|
|
for _rc_elem in `reverse_list $files`; do |
for _rc_elem in $(reverse_list $files); do |
run_rc_script $_rc_elem stop |
run_rc_script $_rc_elem stop |
done |
done |
|
|