mirror of https://github.com/fspc/gbootroot.git
freesource
23 years ago
2 changed files with 5 additions and 2 deletions
@ -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…
Reference in new issue