make kernels use /etc/preinit by default

SVN-Revision: 15840
This commit is contained in:
Imre Kaloz
2009-05-14 10:20:53 +00:00
parent b0d4d23bc6
commit a9c958c2de
57 changed files with 168 additions and 90 deletions

View File

@@ -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
}