diff network/openssh/openssh.sh @ 1109:6e591adaa007

network/openssh: add missing rc file
author David Demelier <markand@malikania.fr>
date Thu, 19 Sep 2019 13:16:11 +0200
parents 3dece1f7570b
children 297b5eef115e
line wrap: on
line diff
--- a/network/openssh/openssh.sh	Wed Sep 18 21:05:00 2019 +0200
+++ b/network/openssh/openssh.sh	Thu Sep 19 13:16:11 2019 +0200
@@ -25,7 +25,7 @@
 PKGOPTIONS="PAM SELINUX"
 PKGUIDS="sshd:100"
 PKGGIDS="sshd:100"
-PKGPROTECT="etc/ssh/ssh_config etc/ssh/sshd_config"
+PKGPROTECT="etc/rc.d/sshd etc/ssh/ssh_config etc/ssh/sshd_config"
 
 : ${CHOST:=$(uname -m)-linux-musl}
 : ${CBUILD:=$(uname -m)-linux-musl}
@@ -74,7 +74,7 @@
 		$with_selinux
 	make
 	make install DESTDIR=$DESTDIR
-	install -D -m 0644 ../sshd /etc/rc.d/sshd
+	install -D -m 0644 ../sshd $DESTDIR/etc/rc.d/sshd
 
 	cd ..
 	rm -rf $PKGNAME-$PKGVERSION