Source-Changes-HG archive

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

[src/trunk]: src/etc/rc.d Use the stop_cmd to unmount the filesystems with 'u...



details:   https://anonhg.NetBSD.org/src/rev/8b9fc8c75b1c
branches:  trunk
changeset: 485434:8b9fc8c75b1c
user:      veego <veego%NetBSD.org@localhost>
date:      Thu Apr 27 21:00:50 2000 +0000

description:
Use the stop_cmd to unmount the filesystems with 'umount -a'.
This helps to fix the unclean reboots (at least on my system).

diffstat:

 etc/rc.d/mountall |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 420eb1d459fc -r 8b9fc8c75b1c etc/rc.d/mountall
--- a/etc/rc.d/mountall Thu Apr 27 20:58:26 2000 +0000
+++ b/etc/rc.d/mountall Thu Apr 27 21:00:50 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: mountall,v 1.1.1.1 2000/03/10 11:53:24 lukem Exp $
+# $NetBSD: mountall,v 1.2 2000/04/27 21:00:50 veego Exp $
 #
 
 # PROVIDE: mountall
@@ -11,6 +11,6 @@
 
 name="mountall"
 start_cmd="echo 'Mounting all filesystems...'; mount -a"
-stop_cmd=":"
+stop_cmd="echo 'Unmounting all filesystems...'; umount -a"
 
 run_rc_command "$1"



Home | Main Index | Thread Index | Old Index