Browse Source

first setup cfgfs, then mount all other volumes, otherwise fstab is ignored

Waldemar Brodkorb 15 years ago
parent
commit
9a77177f6d
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package/base-files/Makefile
  2. 1 1
      package/base-files/src/init

+ 1 - 1
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
 

+ 1 - 1
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