i want my linux to act as windows when it is not shut properly
usually when linux get bad shut it wait for admin to hit y to start fsck otherwise it will skip
i want linux to start fsck as default and should prompt for cancling fsck
(as good as windows)
(totaly reverse to default linux fsck when bad shut off)
making change in /etc/rc.d/rc.sysinit i have made linux to scan as default but it is not asking to skip fsck
i made a change in line 228 default line is
if [ "$AUTOFSCK_DEF_CHECK" = "YES" ]; then
changed line is if [ "$AUTOFSCK_DEF_CHECK" = "" ]; then
this change helped me to scan my linux when get bad shutoff even if i dont press any key it scans my hard drive and even when i press y or n
Sometime Today, dt cobbled together some glyphs to say:
i want my linux to act as windows when it is not shut properly
usually when linux get bad shut it wait for admin to hit y to start fsck otherwise it will skip
i want linux to start fsck as default and should prompt for cancling fsck
Why?
if [ "$AUTOFSCK_DEF_CHECK" = "YES" ]; then
changed line is if [ "$AUTOFSCK_DEF_CHECK" = "" ]; then
Change this to "$AUTOFSCK_DEF_CHECK" != "NO" and it will work