diff options
author | Cem Keylan <cem@ckyln.com> | 2020-05-08 13:09:52 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-05-08 13:09:52 +0300 |
commit | 67596087b9654e7503e55d59dd6b7d60c86ea359 (patch) | |
tree | 1715cd241d9e8cea5d30ff21fb205f1169a384dd /shinit/files/poweroff | |
parent | c09b827a5f1d8b26bb172988e7311b9893b48a24 (diff) | |
download | repository-67596087b9654e7503e55d59dd6b7d60c86ea359.tar.gz |
move out of the 'cem' directory
Diffstat (limited to 'shinit/files/poweroff')
-rwxr-xr-x | shinit/files/poweroff | 3 |
1 files changed, 3 insertions, 0 deletions
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 |