diff -uNr a/tools/linux/ck-system-restart b/tools/linux/ck-system-restart --- a/tools/linux/ck-system-restart 2015-06-21 18:38:32.000000000 +0300 +++ b/tools/linux/ck-system-restart 2017-04-04 18:17:33.122436307 +0300 @@ -1,7 +1,10 @@ #!/bin/sh #Try for common tools -if [ -x "/sbin/shutdown" ] ; then +if [ ! -e "/dev/initctl" ] && [ -x "/sbin/runit-init" ] ; then + /sbin/runit-init 6 + exit $? +elif [ -x "/sbin/shutdown" ] ; then /sbin/shutdown -r now exit $? elif [ -x "/usr/sbin/shutdown" ] ; then diff -uNr a/tools/linux/ck-system-stop b/tools/linux/ck-system-stop --- a/tools/linux/ck-system-stop 2015-06-21 18:38:32.000000000 +0300 +++ b/tools/linux/ck-system-stop 2017-04-04 18:17:21.346435952 +0300 @@ -1,7 +1,10 @@ #!/bin/sh #Try for common tools -if [ -x "/sbin/shutdown" ] ; then +if [ ! -e "/dev/initctl" ] && [ -x "/sbin/runit-init" ] ; then + /sbin/runit-init 0 + exit $? +elif [ -x "/sbin/shutdown" ] ; then /sbin/shutdown -h now exit $? elif [ -x "/usr/sbin/shutdown" ] ; then