summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-03-20 18:54:07 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2012-03-20 18:54:07 +0100
commita9eb63c94f02dea45167719da7ea75f1ef539191 (patch)
treedde5807e64dff86d58d1e43d273f280a3d4685b4 /package/base-files
parent28bfc5688a1a016bef4a001a5bc2a7f7703b1f85 (diff)
add simple lemote disk installer
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/src/init1
2 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index d7a3f38ea..822415352 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:= 50
+PKG_RELEASE:= 51
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
diff --git a/package/base-files/src/init b/package/base-files/src/init
index 537a65352..ac689f046 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -18,6 +18,7 @@ echo >/dev/mdev.seq
echo "/sbin/mdev" >/proc/sys/kernel/hotplug
mdev -s
cat /etc/.rnd >/dev/urandom 2>&1
+[ -x /installer ] && { /installer; }
[ -x /kexecinit ] && { /kexecinit; }
[ -x /cryptinit ] && { /cryptinit; exec switch_root /mnt "/init";}
[ -x /sbin/cfgfs ] && { cfgfs setup; mount -o remount,ro /;} || mount -o remount,rw /