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:
parent
577b8e128c
commit
a2d55f8d34
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user