From ea33aa19e7eb8f0a983d27d463f44141c3b3cf68 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 9 Aug 2021 12:55:43 +0300 Subject: dropbear: use clsv --- extra/dropbear/build | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'extra/dropbear') 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 -- cgit v1.2.3