aboutsummaryrefslogtreecommitdiff
path: root/extra/dropbear/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-08-09 12:55:43 +0300
committerCem Keylan <cem@ckyln.com>2021-08-09 12:55:43 +0300
commitea33aa19e7eb8f0a983d27d463f44141c3b3cf68 (patch)
tree9a8b43b1441e7406e3a770c0f4a4c38086c8827b /extra/dropbear/build
parent58f66a9e3c7915d4a46e7a16c8ea5821c1cec3de (diff)
downloadrepository-ea33aa19e7eb8f0a983d27d463f44141c3b3cf68.tar.gz
dropbear: use clsv
Diffstat (limited to 'extra/dropbear/build')
-rwxr-xr-xextra/dropbear/build9
1 files changed, 1 insertions, 8 deletions
diff --git a/extra/dropbear/build b/extra/dropbear/build
index 07a234fd..386f89db 100755
--- a/extra/dropbear/build
+++ b/extra/dropbear/build
@@ -1,10 +1,5 @@
#!/bin/sh -e
-kinstall() {
- mkdir -p "${3%/*}"; cp "$2" "$3"
- chmod "$1" "$3"
-}
-
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
@@ -16,6 +11,4 @@ make DESTDIR="$1" install
ln -s dbclient "$1/usr/bin/ssh"
# Install user services
-kinstall 755 run "$1/etc/sv/dropbear/run"
-kinstall 755 run "$1/etc/sysmgr/dropbear"
-ln -sf /run/runit/supervise.dropbear "$1/etc/sv/dropbear/supervise"
+clsv -d "$1" -a dropbear run