Does a clean umount, so fsck doesn't complain, but leave using fsck up to the

user, since some fs types may not like it.
This commit is contained in:
freesource
2001-12-21 05:06:36 +00:00
parent 577b8e128c
commit a2d55f8d34
2 changed files with 5 additions and 2 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
#! /bin/sh
#
# $Id$
# $Id: halt.example,v 1.1 2001/12/03 19:00:21 freesource Exp $
#
# Used by Example.yard
mount -n -o remount,ro /
halt -d -f -i -p
+3 -1
View File
@@ -1,8 +1,10 @@
#! /bin/sh
#
# $Id$
# $Id: reboot.example,v 1.1 2001/12/03 19:00:21 freesource Exp $
#
# Used by Example.yard
mount -n -o remount,ro /
echo -n "Rebooting... "
reboot -d -f -i