Kexec/kexec-exec: Difference between revisions
(Zcrayfish created the page Kexec/kexec-exec using a non-default content model "plain text": This will be a plain text page) |
m (Moved from Kexec) |
||
Line 1: | Line 1: | ||
#! /sbin/openrc-run | |||
description="kexec for faster reboot" | |||
depend() { | |||
after killprocs savecache mount-ro | |||
} | |||
start() { | |||
ebegin "kexec-exec: Using kexec for faster reboot" | |||
kexec -e | |||
ewend $? "kexec-exec No kernel loaded." | |||
return 0 | |||
} |