From 9a77177f6ddf4b451876c3696b64d3659b427049 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 25 Nov 2010 19:25:08 +0100 Subject: first setup cfgfs, then mount all other volumes, otherwise fstab is ignored --- package/base-files/Makefile | 2 +- package/base-files/src/init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'package/base-files') 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 -- cgit v1.2.3