Annotation For fsck.init.mk
Logged in as anonymous

Lines of fsck.init.mk from check-in 5621f7a556 that are changed by the sequence of edits moving toward check-in 29803f148a:

                         1: fsck:
                         2: 	echo "MRC:$@> Checking disks." ;\
                         3: 	fsck -p ;\
5621f7a556 2019-10-21    4: 	case $$? in ;\
5621f7a556 2019-10-21    5: 	0) ;\
5621f7a556 2019-10-21    6: 	  ;; ;\
5621f7a556 2019-10-21    7: 	2) ;\
5621f7a556 2019-10-21    8: 	  exit 1;\
5621f7a556 2019-10-21    9: 	  ;; ;\
5621f7a556 2019-10-21   10: 	4) ;\
5621f7a556 2019-10-21   11: 	  echo "Rebooting..." ;\
5621f7a556 2019-10-21   12: 	  reboot ;\
5621f7a556 2019-10-21   13: 	  echo "Reboot failed; help!" ;\
5621f7a556 2019-10-21   14: 	  exit 1 ;\
5621f7a556 2019-10-21   15: 	  ;; ;\
5621f7a556 2019-10-21   16: 	8) ;\
5621f7a556 2019-10-21   17: 	  if [ -n "$${FSCK_Y_ENABLE}" ]; then \
5621f7a556 2019-10-21   18: 	    echo "File system preen failed, trying fsck -y." ;\
5621f7a556 2019-10-21   19: 	    fsck -y || {\
5621f7a556 2019-10-21   20: 	      echo "Automatic file system check failed; help!" ;\
5621f7a556 2019-10-21   21: 	      exit 1 '\
5621f7a556 2019-10-21   22: 	    }\
5621f7a556 2019-10-21   23: 	  else \
5621f7a556 2019-10-21   24: 	    echo "Automatic file system check failed; help!" ;\
5621f7a556 2019-10-21   25: 	    exit 1 ;\
5621f7a556 2019-10-21   26: 	  fi ;\
5621f7a556 2019-10-21   27: 	12) ;\
5621f7a556 2019-10-21   28: 	  echo "Boot interrupted." ;\
5621f7a556 2019-10-21   29: 	130) ;\
5621f7a556 2019-10-21   30: 	  exit 1 ;\
5621f7a556 2019-10-21   31: 	*) ;\
5621f7a556 2019-10-21   32: 	  echo "Unknown error, help!" ;\
5621f7a556 2019-10-21   33: 	  exit 1 ;\
5621f7a556 2019-10-21   34: 	  ;; ;\
                        35: 	esac