diff options
author | Britney Fransen <brfransen@gmail.com> | 2023-04-08 14:12:44 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2023-04-08 14:12:44 (GMT) |
commit | 2691e362aa862e6baa7de772f3bb6a3f792b2d8d (patch) | |
tree | 7c0c8621297d43192d547aa0e78fc58332dbf4ff /linhes/linhes-system/lh_restart_needed.hook | |
parent | 9fc6361467ac1e8b264e8ef0a6dbbeace5b0777d (diff) | |
download | linhes_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.hook | 9 |
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 |