summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/lh_restart_needed.hook
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/linhes-system/lh_restart_needed.hook')
-rw-r--r--linhes/linhes-system/lh_restart_needed.hook9
1 files changed, 9 insertions, 0 deletions
diff --git a/linhes/linhes-system/lh_restart_needed.hook b/linhes/linhes-system/lh_restart_needed.hook
new file mode 100644
index 0000000..e22ecdc
--- /dev/null
+++ b/linhes/linhes-system/lh_restart_needed.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Operation = Upgrade
+Type = Package
+Target = *
+
+[Action]
+Description = Checking if reboot is needed...
+When = PostTransaction
+Exec = /usr/bin/lh_restart_needed.sh