aboutsummaryrefslogtreecommitdiff
path: root/extra/shinit/build
diff options
context:
space:
mode:
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"