From a9c958c2de59e0747b5dcf82f5fd5b1aaf956c3b Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Thu, 14 May 2009 10:20:53 +0000 Subject: make kernels use /etc/preinit by default SVN-Revision: 15840 --- target/linux/rb532/base-files/sbin/wget2nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/rb532/base-files/sbin/wget2nand') diff --git a/target/linux/rb532/base-files/sbin/wget2nand b/target/linux/rb532/base-files/sbin/wget2nand index b0f4205e78..57f4128642 100755 --- a/target/linux/rb532/base-files/sbin/wget2nand +++ b/target/linux/rb532/base-files/sbin/wget2nand @@ -57,7 +57,7 @@ ls /tmp/wget2nand-boot/ ls /tmp/wget2nand/ # use kexec if present [ -x /usr/bin/kexec ] && { - kexec -l /tmp/wget2nand-boot/kernel --command-line="$(cat /proc/cmdline) root=$main rootfstype=yaffs2 init=/etc/preinit" + kexec -l /tmp/wget2nand-boot/kernel --command-line="$(cat /proc/cmdline) root=$main rootfstype=yaffs2" kexec -e } -- cgit v1.2.3