Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/rc.d Revert previous, for now. We don't umount filesyst...
details: https://anonhg.NetBSD.org/src/rev/a5d70a70440a
branches: trunk
changeset: 574508:a5d70a70440a
user: tv <tv%NetBSD.org@localhost>
date: Wed Mar 02 19:09:22 2005 +0000
description:
Revert previous, for now. We don't umount filesystems in the shutdown
process (we're -- probably inappropriately -- waiting for the kernel to do
that at the end), so cgdconfig -U won't do much until that situation changes.
diffstat:
etc/rc.d/cgd | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
diffs (37 lines):
diff -r 83512186a548 -r a5d70a70440a etc/rc.d/cgd
--- a/etc/rc.d/cgd Wed Mar 02 18:08:43 2005 +0000
+++ b/etc/rc.d/cgd Wed Mar 02 19:09:22 2005 +0000
@@ -1,17 +1,16 @@
#!/bin/sh
#
-# $NetBSD: cgd,v 1.4 2005/03/02 12:14:47 tv Exp $
+# $NetBSD: cgd,v 1.5 2005/03/02 19:09:22 tv Exp $
#
# PROVIDE: disks
-# KEYWORD: shutdown
$_rc_subr_loaded . /etc/rc.subr
name="cgd"
rcvar=$name
start_cmd="cgd_start"
-stop_cmd="cgd_stop"
+stop_cmd=":"
cgd_start()
{
@@ -21,13 +20,5 @@
fi
}
-cgd_stop()
-{
- if [ -f /etc/cgd/cgd.conf ]; then
- echo "Unconfiguring CGD devices."
- cgdconfig -U
- fi
-}
-
load_rc_config $name
run_rc_command "$1"
Home |
Main Index |
Thread Index |
Old Index