aboutsummaryrefslogtreecommitdiff
path: root/local/bin/sys-reboot
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-10-15 19:22:44 +0200
committerKarel Kočí <cynerd@email.cz>2016-10-15 19:22:44 +0200
commit02a2196150b16ee1c343a5587cadb177016fe222 (patch)
tree8ef95619620a4689a12d26eff0a0287954a2cd3c /local/bin/sys-reboot
parentb17cad80bfaf348ce805868dc4b35211a4c32906 (diff)
downloadmyconfigs-02a2196150b16ee1c343a5587cadb177016fe222.tar.gz
myconfigs-02a2196150b16ee1c343a5587cadb177016fe222.tar.bz2
myconfigs-02a2196150b16ee1c343a5587cadb177016fe222.zip
Update files to changes done while abandoning systemd
Now I use openrc.
Diffstat (limited to 'local/bin/sys-reboot')
-rwxr-xr-xlocal/bin/sys-reboot2
1 files changed, 2 insertions, 0 deletions
diff --git a/local/bin/sys-reboot b/local/bin/sys-reboot
new file mode 100755
index 0000000..24a024c
--- /dev/null
+++ b/local/bin/sys-reboot
@@ -0,0 +1,2 @@
+#!/bin/sh
+dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Restart