aboutsummaryrefslogtreecommitdiff
path: root/extra/shinit/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-09 17:16:27 +0300
committerCem Keylan <cem@ckyln.com>2020-09-09 17:16:27 +0300
commitfa395dfa71e4ab7b28014df311d093a8d82bef02 (patch)
tree0e831e4fda46d48cc029010243e98da6ff0c1dc9 /extra/shinit/build
parent963a37e0129983fcabd3a4625ae044250bf2a2db (diff)
downloadrepository-fa395dfa71e4ab7b28014df311d093a8d82bef02.tar.gz
shinit: add new package at 1.0.0
Diffstat (limited to 'extra/shinit/build')
-rwxr-xr-xextra/shinit/build7
1 files changed, 7 insertions, 0 deletions
diff --git a/extra/shinit/build b/extra/shinit/build
new file mode 100755
index 00000000..0b82a3b2
--- /dev/null
+++ b/extra/shinit/build
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+install -Dm755 shinit "$1/usr/bin/shinit"
+install -Dm755 poweroff "$1/usr/bin/poweroff"
+
+ln -s shinit "$1/usr/bin/init"
+ln -s poweroff "$1/usr/bin/reboot"