mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-23 00:53: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
|
||||
#
|
||||
# $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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user