Allow kexec to directly use the kernel exposed in a mtd partition and reboot using the right command line
SVN-Revision: 9322master
parent
2d7d23885d
commit
ccbc635770
@ -0,0 +1,5 @@ |
||||
#!/bin/sh |
||||
. /etc/functions.sh |
||||
cmdline="$(cat /proc/cmdline)" |
||||
kernel="$(find_mtd_part kernel)" |
||||
kexec -l $kernel --command-line=$cmdline |
Loading…
Reference in new issue