]>
git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - src/boot.d/07-mountotherfs
2 STRING
="Checking other filesystems"
6 if [ "$RC" = "0" ]; then
7 echo "$STRING: Success"
8 elif [ "$RC" = "1" ]; then
12 # A return of 2 or higher means there were serious problems.
13 if [ $RC -gt 1 ]; then
14 echo "$STRING: Failed"
15 echo "*** An error occurred during the file system check."
16 echo "*** Dropping you to a shell; the system will reboot"
17 echo "*** when you leave the shell."
18 export PS1
="(Repair filesystem) \# # "
20 echo "Unmounting filesystems"
22 mount
-n -o remount
,ro
/
23 echo "Automatic reboot in progress."
27 echo "Mounting other filesystems"
30 if [ -e /swapfile
]; then
31 echo "Turning on swap"