X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Frb532%2Fbase-files%2Fsbin%2Fwget2nand;fp=target%2Flinux%2Frb532%2Fbase-files%2Fsbin%2Fwget2nand;h=57f4128642d9539ae7cff7e39787d32eb8ad3145;hp=b0f4205e78ba594481b0aaa1cca6adf43fa065c8;hb=a668d3bec510e3c1311a08502c582b797c11b589;hpb=b198021591cb59bd32eed6921f7a91461810bf6a 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 }