diff options
author | Leif Johansson <leifj@sunet.se> | 2014-03-03 10:33:21 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2014-03-03 10:33:21 +0100 |
commit | 88d39d92746bed841812305e3cfa3fe5749c51ff (patch) | |
tree | 57ef9faa53d57f62358e1f4cdc71dc51d8fc8577 /global/post-tasks.d/999reboot | |
parent | 8d2f9cc27ca9af1c16f7aa9597a93de00ed0ae2e (diff) | |
parent | 60e026c0b1b2e1440e0721e634cf7c803b8e5907 (diff) |
Merge branch 'multiverse'
Diffstat (limited to 'global/post-tasks.d/999reboot')
-rwxr-xr-x | global/post-tasks.d/999reboot | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/global/post-tasks.d/999reboot b/global/post-tasks.d/999reboot index 5331446..2ed9fa7 100755 --- a/global/post-tasks.d/999reboot +++ b/global/post-tasks.d/999reboot @@ -1,3 +1,5 @@ #!/bin/sh -test -f /var/run/reboot-required -a ! -f /etc/cosmos-manual-reboot && reboot +if [ -f /var/run/reboot-required -a -f /etc/cosmos-automatic-reboot ]; then + reboot +fi |