summaryrefslogtreecommitdiff
path: root/global/post-tasks.d/999reboot
diff options
context:
space:
mode:
Diffstat (limited to 'global/post-tasks.d/999reboot')
-rwxr-xr-xglobal/post-tasks.d/999reboot3
1 files changed, 3 insertions, 0 deletions
diff --git a/global/post-tasks.d/999reboot b/global/post-tasks.d/999reboot
new file mode 100755
index 0000000..5331446
--- /dev/null
+++ b/global/post-tasks.d/999reboot
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+test -f /var/run/reboot-required -a ! -f /etc/cosmos-manual-reboot && reboot