aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.shutdown
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>1999-09-13 15:44:20 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>1999-09-13 15:44:20 +0000
commit321704296f6ba1a5885ff7064b14fbeecf20c340 (patch)
tree920fd19901d5e07524b525646b51b9635f1686a7 /etc/rc.shutdown
parent4a086b52ca9b3fe330755fcf9e1c7a9c657927ee (diff)
downloadsrc-321704296f6ba1a5885ff7064b14fbeecf20c340.tar.gz
src-321704296f6ba1a5885ff7064b14fbeecf20c340.zip
Apply a consistent style to most of the etc scripts. Particularly, use
case instead of test where appropriate, since case allows case is a sh builtin and (as a side-effect) allows case-insensitivity. Changes discussed on freebsd-hackers. Submitted by: Doug Barton <Doug@gorean.org>
Notes
Notes: svn path=/head/; revision=51231
Diffstat (limited to 'etc/rc.shutdown')
-rw-r--r--etc/rc.shutdown8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/rc.shutdown b/etc/rc.shutdown
index e241721936bc..0479e02ca948 100644
--- a/etc/rc.shutdown
+++ b/etc/rc.shutdown
@@ -1,7 +1,7 @@
#!/bin/sh
# $FreeBSD$
-# site-specific closing actions for daemons run by init on shutdown
+# Site-specific closing actions for daemons run by init on shutdown,
# or before going single-user from multi-user.
# Output and errors are directed to console by init, and the
# console is the controlling terminal.
@@ -13,11 +13,11 @@ stty status '^T'
trap : 2
trap : 3 # shouldn't be needed
-HOME=/; export HOME
+HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
-export PATH
+export HOME PATH
-echo -n Shutting down daemon processes:
+echo -n "Shutting down daemon processes: "
# Insert shutdown procedures here