We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3e82b1 commit 1879fd0Copy full SHA for 1879fd0
scripts/fast-reboot
@@ -9,6 +9,7 @@ WARM_DIR=/host/warmboot
9
function clear_warm_boot()
10
{
11
config warm_restart disable || /bin/true
12
+ /sbin/kexec -u || /bin/true
13
14
TIMESTAMP=`date +%Y%m%d-%H%M%S`
15
if [[ -f ${WARM_DIR}/config_db.json ]]; then
scripts/reboot
@@ -23,6 +23,7 @@ function clear_warm_boot()
23
24
mv -f ${WARM_DIR}/config_db.json ${WARM_DIR}/config_db-${TIMESTAMP}.json
25
fi
26
27
}
28
29
# Exit if not superuser
0 commit comments