From a9eb63c94f02dea45167719da7ea75f1ef539191 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 20 Mar 2012 18:54:07 +0100 Subject: add simple lemote disk installer --- package/base-files/Makefile | 2 +- package/base-files/src/init | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'package/base-files') 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 / -- cgit v1.2.3