[MINI2440] Updated defconfig to add (optional) packages
[openwrt/mini2440.git] / package / kexec-tools / files / kexec.sh
blob8871d8aeb9d80db7ce141620f3e663e0ee15f268
1 #!/bin/sh
2 . /etc/functions.sh
3 cmdline="$(cat /proc/cmdline)"
4 kernel="$(find_mtd_part kernel)"
5 kexec -l $kernel --command-line=$cmdline