From 096b270db0e82fff13d1388ecc1e473183fb39e3 Mon Sep 17 00:00:00 2001 From: fbt Date: Sat, 16 Aug 2014 16:04:40 +0400 Subject: [PATCH] system script --- init.d/system | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 init.d/system diff --git a/init.d/system b/init.d/system new file mode 100755 index 0000000..19aad44 --- /dev/null +++ b/init.d/system @@ -0,0 +1,13 @@ +#!/usr/bin/env watchman + +unset start stop restart reload status + +reboot() { + echo "Rebooting..." + kill -2 1 +} + +poweroff() { + echo "Powering off..." + kill -10 1 +}