summaryrefslogtreecommitdiff
path: root/check-kernel.conf.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-16 09:35:42 +0200
committerErich Eckner <git@eckner.net>2019-05-16 09:35:42 +0200
commit7ee74cc1d31c4d3e7bc8d8d65222fca96cc3a7ab (patch)
tree4eb6bdd3b56b723948a4a433a40608632e454562 /check-kernel.conf.in
parentba6cb3fa1e6f22f6ecd76399af6fe34d00116f98 (diff)
downloadcheck-kernel-7ee74cc1d31c4d3e7bc8d8d65222fca96cc3a7ab.tar.xz
check-kernel.conf and reboot_check_hook() newv0.5.1
Diffstat (limited to 'check-kernel.conf.in')
-rw-r--r--check-kernel.conf.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/check-kernel.conf.in b/check-kernel.conf.in
new file mode 100644
index 0000000..dc40a52
--- /dev/null
+++ b/check-kernel.conf.in
@@ -0,0 +1,8 @@
+# Configuration for check-kernel
+# Should be located at #ETCDIR#/check-kernel.conf
+
+# a hook which should check if a reboot is safe and wait or return
+# non-zero if it is not
+reboot_check_hook() {
+ true
+}