diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-07 22:31:20 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-07 22:31:20 +0300 |
commit | 36bca3355980c0b4cbded6867b46cc7e70cd9db0 (patch) | |
tree | 5e145554b29a9d52cbb455ea263c77140d6f72b6 /cem/shinit/files/poweroff | |
parent | 535f6e42c155f31b441d560f4e09f4a46567fc00 (diff) | |
download | repository-36bca3355980c0b4cbded6867b46cc7e70cd9db0.tar.gz |
shinit: add new package at git to cem
Diffstat (limited to 'cem/shinit/files/poweroff')
-rwxr-xr-x | cem/shinit/files/poweroff | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cem/shinit/files/poweroff b/cem/shinit/files/poweroff new file mode 100755 index 0000000..454cfa7 --- /dev/null +++ b/cem/shinit/files/poweroff @@ -0,0 +1,3 @@ +#!/bin/bash +[ "$(id -u)" -eq 0 ] || exit 1 +/lib/init/rc.shutdown ${0##*/} & disown |