summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-system/lh_restart_needed.hook
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-04-08 14:12:44 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-04-08 14:12:44 (GMT)
commit2691e362aa862e6baa7de772f3bb6a3f792b2d8d (patch)
tree7c0c8621297d43192d547aa0e78fc58332dbf4ff /linhes/linhes-system/lh_restart_needed.hook
parent9fc6361467ac1e8b264e8ef0a6dbbeace5b0777d (diff)
downloadlinhes_pkgbuild-2691e362aa862e6baa7de772f3bb6a3f792b2d8d.zip
linhes_pkgbuild-2691e362aa862e6baa7de772f3bb6a3f792b2d8d.tar.gz
linhes_pkgbuild-2691e362aa862e6baa7de772f3bb6a3f792b2d8d.tar.bz2
linhes-system: add hook to notify reboot needed
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