1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-23 09:03:23 -05:00

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

View File

@ -1,8 +1,9 @@
#! /bin/sh #! /bin/sh
# #
# $Id$ # $Id: halt.example,v 1.1 2001/12/03 19:00:21 freesource Exp $
# #
# Used by Example.yard # Used by Example.yard
mount -n -o remount,ro /
halt -d -f -i -p halt -d -f -i -p

View File

@ -1,8 +1,10 @@
#! /bin/sh #! /bin/sh
# #
# $Id$ # $Id: reboot.example,v 1.1 2001/12/03 19:00:21 freesource Exp $
# #
# Used by Example.yard # Used by Example.yard
mount -n -o remount,ro /
echo -n "Rebooting... " echo -n "Rebooting... "
reboot -d -f -i reboot -d -f -i