initscripts: Tweak checkroot to work with recent versions of busybox

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2010-06-02 11:45:59 +01:00
parent 5b1c702566
commit 420b1d8488
2 changed files with 3 additions and 3 deletions

View File

@@ -18,13 +18,13 @@ test "$SULOGIN" = yes && sulogin -t 30 $CONSOLE
# #
# Read /etc/fstab. # Read /etc/fstab.
# #
exec 9>&0 </etc/fstab exec 9< /etc/fstab
rootmode=rw rootmode=rw
rootopts=rw rootopts=rw
rootcheck=no rootcheck=no
swap_on_md=no swap_on_md=no
devfs= devfs=
while read fs mnt type opts dump pass junk while read fs mnt type opts dump pass junk <&9
do do
case "$fs" in case "$fs" in
""|\#*) ""|\#*)

View File

@@ -4,7 +4,7 @@ PRIORITY = "required"
DEPENDS = "makedevs" DEPENDS = "makedevs"
RDEPENDS = "makedevs" RDEPENDS = "makedevs"
LICENSE = "GPL" LICENSE = "GPL"
PR = "r120" PR = "r121"
SRC_URI = "file://functions \ SRC_URI = "file://functions \
file://halt \ file://halt \