Browse Source

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.
master
freesource 23 years ago
parent
commit
a2d55f8d34
  1. 3
      yard/replacements/etc/init.d/halt.example
  2. 4
      yard/replacements/etc/init.d/reboot.example

3
yard/replacements/etc/init.d/halt.example

@ -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

4
yard/replacements/etc/init.d/reboot.example

@ -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…
Cancel
Save