Print out a message explaining why the system is rebooting if the root

filesystem is modified by fsck(8).
This commit is contained in:
tron 2008-03-02 21:31:30 +00:00
parent b3c3a0fd7d
commit 634457e76e

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: fsck,v 1.8 2008/02/24 01:05:35 christos Exp $
# $NetBSD: fsck,v 1.9 2008/03/02 21:31:30 tron Exp $
#
# PROVIDE: fsck
@ -32,7 +32,7 @@ fsck_start()
echo "file systems still have errors; re-run fsck manually!"
;;
4) # Root modified
echo "Rebooting..."
echo "Root filesystem was modified, rebooting ..."
reboot
echo "Reboot failed; help!"
;;