diff options
author | Cem Keylan <cem@ckyln.com> | 2021-08-09 12:55:43 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-08-09 12:55:43 +0300 |
commit | ea33aa19e7eb8f0a983d27d463f44141c3b3cf68 (patch) | |
tree | 9a8b43b1441e7406e3a770c0f4a4c38086c8827b /extra/dropbear | |
parent | 58f66a9e3c7915d4a46e7a16c8ea5821c1cec3de (diff) | |
download | repository-ea33aa19e7eb8f0a983d27d463f44141c3b3cf68.tar.gz |
dropbear: use clsv
Diffstat (limited to 'extra/dropbear')
-rwxr-xr-x | extra/dropbear/build | 9 |
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 |