fsck (179945) | fsck (193944) |
---|---|
1#!/bin/sh 2# | 1#!/bin/sh 2# |
3# $FreeBSD: head/etc/rc.d/fsck 179945 2008-06-23 04:46:54Z mtm $ | 3# $FreeBSD: head/etc/rc.d/fsck 193944 2009-06-10 19:03:23Z avg $ |
4# 5 6# PROVIDE: fsck 7# REQUIRE: localswap 8# KEYWORD: nojail 9 10. /etc/rc.subr 11 --- 27 unchanged lines hidden (view full) --- 39 4) 40 echo "Rebooting..." 41 reboot 42 echo "Reboot failed; help!" 43 stop_boot 44 ;; 45 8) 46 if checkyesno fsck_y_enable; then | 4# 5 6# PROVIDE: fsck 7# REQUIRE: localswap 8# KEYWORD: nojail 9 10. /etc/rc.subr 11 --- 27 unchanged lines hidden (view full) --- 39 4) 40 echo "Rebooting..." 41 reboot 42 echo "Reboot failed; help!" 43 stop_boot 44 ;; 45 8) 46 if checkyesno fsck_y_enable; then |
47 echo "File system preen failed, trying fsck -y." 48 fsck -y | 47 echo "File system preen failed, trying fsck -y ${fsck_y_flags}" 48 fsck -y ${fsck_y_flags} |
49 case $? in 50 0) 51 ;; 52 *) 53 echo "Automatic file system check failed; help!" 54 stop_boot 55 ;; 56 esac --- 22 unchanged lines hidden --- | 49 case $? in 50 0) 51 ;; 52 *) 53 echo "Automatic file system check failed; help!" 54 stop_boot 55 ;; 56 esac --- 22 unchanged lines hidden --- |