aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-24 00:35:29 +0300
committerCem Keylan <cem@ckyln.com>2021-07-24 00:35:29 +0300
commit8f13b30977040ab5e2cf16b8edea1ceadf29efd9 (patch)
treefa407c0bbeb06e685097dcff5b775e27575beb82
parent1ee53c1e9442c6f18260f09de946325e78953014 (diff)
downloadrepository-8f13b30977040ab5e2cf16b8edea1ceadf29efd9.tar.gz
shinit: use clinst
-rwxr-xr-xextra/shinit/build4
1 files changed, 1 insertions, 3 deletions
diff --git a/extra/shinit/build b/extra/shinit/build
index 0b82a3b2..8e362b4a 100755
--- a/extra/shinit/build
+++ b/extra/shinit/build
@@ -1,7 +1,5 @@
#!/bin/sh -e
-install -Dm755 shinit "$1/usr/bin/shinit"
-install -Dm755 poweroff "$1/usr/bin/poweroff"
-
+clinst -Dm755 -t "$1/usr/bin" shinit poweroff
ln -s shinit "$1/usr/bin/init"
ln -s poweroff "$1/usr/bin/reboot"