Lines 71-77
Link Here
|
71 |
|
71 |
|
72 |
# Should we mount root rw ? the touch check is to see if the / is |
72 |
# Should we mount root rw ? the touch check is to see if the / is |
73 |
# already mounted rw in which case there's nothing for us to do |
73 |
# already mounted rw in which case there's nothing for us to do |
74 |
if mount -vf -o remount / 2> /dev/null | \ |
74 |
if mount -vfi -o remount / 2> /dev/null | \ |
75 |
awk '{ if ($6 ~ /rw/) exit 0; else exit 1; }' && \ |
75 |
awk '{ if ($6 ~ /rw/) exit 0; else exit 1; }' && \ |
76 |
! touch -c / >& /dev/null |
76 |
! touch -c / >& /dev/null |
77 |
then |
77 |
then |