initscripts: Tweak checkroot to work with recent versions of busybox
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
5b1c702566
commit
420b1d8488
|
@ -18,13 +18,13 @@ test "$SULOGIN" = yes && sulogin -t 30 $CONSOLE
|
|||
#
|
||||
# Read /etc/fstab.
|
||||
#
|
||||
exec 9>&0 </etc/fstab
|
||||
exec 9< /etc/fstab
|
||||
rootmode=rw
|
||||
rootopts=rw
|
||||
rootcheck=no
|
||||
swap_on_md=no
|
||||
devfs=
|
||||
while read fs mnt type opts dump pass junk
|
||||
while read fs mnt type opts dump pass junk <&9
|
||||
do
|
||||
case "$fs" in
|
||||
""|\#*)
|
||||
|
|
|
@ -4,7 +4,7 @@ PRIORITY = "required"
|
|||
DEPENDS = "makedevs"
|
||||
RDEPENDS = "makedevs"
|
||||
LICENSE = "GPL"
|
||||
PR = "r120"
|
||||
PR = "r121"
|
||||
|
||||
SRC_URI = "file://functions \
|
||||
file://halt \
|
||||
|
|
Loading…
Reference in New Issue