summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update-me.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/update-me.in b/update-me.in
index 8a6b09a..bb979d4 100644
--- a/update-me.in
+++ b/update-me.in
@@ -4,6 +4,10 @@ preCmds=('hostname')
cmds=()
postCmds=('sync')
+if which check-kernel >/dev/null 2>&1; then
+ postCmds+=('check-kernel -r')
+fi
+
. #ETCDIR#/update-me.conf
if [ ! "$(whoami)" == "root" ]