diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 13:10:13 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-03-25 13:28:07 +0200 |
commit | 021f091082a74d5bd5503a3a3c7a569eee9c6d8f (patch) | |
tree | 5a1c742a3e4a1933ed3a54f39a7069f97e2500f1 /services/reboot.in | |
parent | 0a280740716bde571c0f0db64d78a7f2141b56f4 (diff) |
Use services to implement shutdown/reboot sequence
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services/reboot.in')
-rw-r--r-- | services/reboot.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/services/reboot.in b/services/reboot.in new file mode 100644 index 0000000..f913013 --- /dev/null +++ b/services/reboot.in @@ -0,0 +1,8 @@ +name = "reboot" +description = "system reboot" +exec = "@SBINPATH@/shutdown -nrf" +type = wait +target = reboot +after = "sync" +after = "sigkill" +after = "sigterm" |