summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-09-24 22:34:39 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-09-24 22:34:39 +0000
commit2fb674c46a8934584d6bd2962da3ebf15f29743b (patch)
tree449038e13d74740b5a27eaadfcc96af3759395f5 /packages/initscripts/initscripts-1.0
parent91f4d8291961add9ec9fe21bd4498b339361df27 (diff)
initscripts 1.0: checkroot.sh: Stop doing random positive login regarding fsck.
* It's ok to do negative logic, for example limit scope of operation if we know we can't do it (ex.: we don't support fscking something else but ext2/ext3, so we have to ignore user's request to do fsck on other fstype). * But it's not ok to do fsck if user didn't request it, or moreover if he requested *not* to do it.
Diffstat (limited to 'packages/initscripts/initscripts-1.0')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/checkroot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/initscripts/initscripts-1.0/checkroot.sh b/packages/initscripts/initscripts-1.0/checkroot.sh
index f3b8a0cd45..76bedcf4bd 100755
--- a/packages/initscripts/initscripts-1.0/checkroot.sh
+++ b/packages/initscripts/initscripts-1.0/checkroot.sh
@@ -60,9 +60,9 @@ do
test "$pass" = 0 -o "$pass" = "" && rootcheck=no
- # Enable fsck for ext2 and ext3 rootfs, disable for everything else
+ # Allow fsck for ext2 and ext3 rootfs, disable for everything else
case "$type" in
- ext2|ext3) rootcheck=yes;;
+ ext2|ext3) ;;
*) rootcheck=no;;
esac