diff options
Diffstat (limited to 'package/kexec-tools/files/kexec.sh')
-rw-r--r-- | package/kexec-tools/files/kexec.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/kexec-tools/files/kexec.sh b/package/kexec-tools/files/kexec.sh new file mode 100644 index 0000000..8871d8a --- /dev/null +++ b/package/kexec-tools/files/kexec.sh @@ -0,0 +1,5 @@ +#!/bin/sh +. /etc/functions.sh +cmdline="$(cat /proc/cmdline)" +kernel="$(find_mtd_part kernel)" +kexec -l $kernel --command-line=$cmdline |