Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc - describe what rc.shutdown does, and what invokes it



details:   https://anonhg.NetBSD.org/src/rev/109a05601ff1
branches:  trunk
changeset: 500655:109a05601ff1
user:      lukem <lukem%NetBSD.org@localhost>
date:      Fri Dec 15 00:00:09 2000 +0000

description:
- describe what rc.shutdown does, and what invokes it
- remove `.sh' suffix on script name in description

diffstat:

 etc/rc          |  6 +++---
 etc/rc.shutdown |  7 +++++--
 2 files changed, 8 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 41d99f78e4f1 -r 109a05601ff1 etc/rc
--- a/etc/rc    Thu Dec 14 23:56:18 2000 +0000
+++ b/etc/rc    Fri Dec 15 00:00:09 2000 +0000
@@ -1,11 +1,11 @@
 #!/bin/sh
 #
-# $NetBSD: rc,v 1.153 2000/08/21 23:09:50 lukem Exp $
+# $NetBSD: rc,v 1.154 2000/12/15 00:00:09 lukem Exp $
 #
-# rc.sh --
+# rc --
 #      Run the scripts in /etc/rc.d with rcorder.
 
-#      System startup script run by init on autoboot or after single-user.
+#      System startup script run by init(8) on autoboot or after single-user.
 #      Output and error are redirected to console by init, and the console
 #      is the controlling terminal.
 
diff -r 41d99f78e4f1 -r 109a05601ff1 etc/rc.shutdown
--- a/etc/rc.shutdown   Thu Dec 14 23:56:18 2000 +0000
+++ b/etc/rc.shutdown   Fri Dec 15 00:00:09 2000 +0000
@@ -1,10 +1,13 @@
 #!/bin/sh
 #
-# $NetBSD: rc.shutdown,v 1.4 2000/07/17 15:23:28 lukem Exp $
+# $NetBSD: rc.shutdown,v 1.5 2000/12/15 00:00:09 lukem Exp $
 #
-# rc.shutdown.sh --
+# rc.shutdown --
 #      Run the scripts in /etc/rc.d with reverse rcorder.
 
+#      System shutdown script run by shutdown(8) at system shutdown time.
+#      Note that halt(8) and reboot(8) do NOT invoke this script.
+
 export HOME=/
 export PATH=/sbin:/bin:/usr/sbin:/usr/bin
 



Home | Main Index | Thread Index | Old Index