summaryrefslogtreecommitdiff
path: root/package/kexec-tools/files/kexec.sh
blob: 8871d8aeb9d80db7ce141620f3e663e0ee15f268 (plain)
1
2
3
4
5
#!/bin/sh
. /etc/functions.sh
cmdline="$(cat /proc/cmdline)"
kernel="$(find_mtd_part kernel)"
kexec -l $kernel --command-line=$cmdline