1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-15 23:45:31 +03:00
openwrt-xburst/package/kexec-tools/files/kexec.sh

6 lines
135 B
Bash
Raw Normal View History

#!/bin/sh
. /etc/functions.sh
cmdline="$(cat /proc/cmdline)"
kernel="$(find_mtd_part kernel)"
kexec -l $kernel --command-line=$cmdline