From eac1cfc4ba154abfb89ea561030fdce14a0cdca0 Mon Sep 17 00:00:00 2001 From: kaloz Date: Thu, 14 May 2009 10:20:53 +0000 Subject: make kernels use /etc/preinit by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15840 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 b0f4205e7..57f412864 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