Updated usher to create host keys if needed, added dependencies and

also cleaned up Makefile
This commit is contained in:
2016-10-30 17:20:10 -05:00
parent 9b4a197003
commit 1dc93711f5
2 changed files with 21 additions and 23 deletions

View File

@@ -24,7 +24,11 @@ case $1 in
fi
fi
chown -v root:root /var/run/sshd
chown root:root /var/run/sshd
if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
ssh-keygen -A
fi
;;
prerm)
exit 0