diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-14 10:20:53 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-14 10:20:53 +0000 |
commit | eac1cfc4ba154abfb89ea561030fdce14a0cdca0 (patch) | |
tree | 0589c0ee59913f1c0790d02030b654601bf7a6a5 /target/linux/rb532/base-files/sbin/wget2nand | |
parent | 070fb549fa0803ffd8af62c4228b48da545dad07 (diff) |
make kernels use /etc/preinit by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15840 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/base-files/sbin/wget2nand')
-rwxr-xr-x | target/linux/rb532/base-files/sbin/wget2nand | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |