diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-25 19:25:08 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-25 19:25:08 +0100 |
commit | 9a77177f6ddf4b451876c3696b64d3659b427049 (patch) | |
tree | 588d9c454dbbda670aa4dd239274bcbbdd500a59 | |
parent | 0642672738c31624d625257b8cedf6890c3b5bf2 (diff) |
first setup cfgfs, then mount all other volumes, otherwise fstab is ignored
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rwxr-xr-x | package/base-files/src/init | 2 |
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 |