aboutsummaryrefslogtreecommitdiffstats
path: root/packages/initscripts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initscripts')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/checkroot.sh4
-rw-r--r--packages/initscripts/initscripts_1.0.bb2
2 files changed, 2 insertions, 4 deletions
diff --git a/packages/initscripts/initscripts-1.0/checkroot.sh b/packages/initscripts/initscripts-1.0/checkroot.sh
index e5aa9aaf99..8ad62622ff 100755
--- a/packages/initscripts/initscripts-1.0/checkroot.sh
+++ b/packages/initscripts/initscripts-1.0/checkroot.sh
@@ -21,7 +21,6 @@ test -x /sbin/update && update
#
# Read /etc/fstab.
#
-exec 9>&0 </etc/fstab
rootmode=rw
rootopts=rw
test "$ENABLE_ROOTFS_FSCK" = yes && rootcheck="yes" || rootcheck="no"
@@ -81,8 +80,7 @@ do
;;
esac
fi
-done
-exec 0>&9 9>&-
+done < /etc/fstab
#
# Activate the swap device(s) in /etc/fstab. This needs to be done
diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb
index ad3433a99c..133583bfdc 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 = "r111"
+PR = "r112"
SRC_URI = "file://functions \
file://halt \