summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-25 19:25:08 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-25 19:25:08 +0100
commit9a77177f6ddf4b451876c3696b64d3659b427049 (patch)
tree588d9c454dbbda670aa4dd239274bcbbdd500a59
parent0642672738c31624d625257b8cedf6890c3b5bf2 (diff)
first setup cfgfs, then mount all other volumes, otherwise fstab is ignored
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/src/init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index af8b2165f..14a884bcf 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 33
+PKG_RELEASE:= 34
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
diff --git a/package/base-files/src/init b/package/base-files/src/init
index 702f0e442..e290cee95 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -18,6 +18,6 @@ echo "/sbin/mdev" >/proc/sys/kernel/hotplug
mdev -s
mount -o remount,rw /
cat /etc/.rnd >/dev/urandom 2>&1
-[ -f /etc/fstab ] && mount -a
[ -x /sbin/cfgfs ] && { cfgfs setup; mount -o remount,ro /;}
+[ -f /etc/fstab ] && mount -a
exec /sbin/init