summaryrefslogtreecommitdiff
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
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.
-rwxr-xr-xpackages/initscripts/initscripts-1.0/checkroot.sh4
-rw-r--r--packages/initscripts/initscripts_1.0.bb2
2 files changed, 3 insertions, 3 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
diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb
index 06a12c04a5..52413a727d 100644
--- a/packages/initscripts/initscripts_1.0.bb
+++ b/packages/initscripts/initscripts_1.0.bb
@@ -4,7 +4,7 @@ PRIORITY = "required"
DEPENDS = "makedevs"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r100"
+PR = "r101"
SRC_URI = "file://functions \
file://halt \