mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
6 lines
135 B
Bash
6 lines
135 B
Bash
|
#!/bin/sh
|
||
|
. /etc/functions.sh
|
||
|
cmdline="$(cat /proc/cmdline)"
|
||
|
kernel="$(find_mtd_part kernel)"
|
||
|
kexec -l $kernel --command-line=$cmdline
|