From 67596087b9654e7503e55d59dd6b7d60c86ea359 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 8 May 2020 13:09:52 +0300 Subject: move out of the 'cem' directory --- shinit/files/poweroff | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 shinit/files/poweroff (limited to 'shinit/files/poweroff') diff --git a/shinit/files/poweroff b/shinit/files/poweroff new file mode 100755 index 0000000..454cfa7 --- /dev/null +++ b/shinit/files/poweroff @@ -0,0 +1,3 @@ +#!/bin/bash +[ "$(id -u)" -eq 0 ] || exit 1 +/lib/init/rc.shutdown ${0##*/} & disown -- cgit v1.2.3