- (djm) [contrib/redhat/openssh.spec] Correct restorcon => restorecon

This commit is contained in:
Damien Miller 2011-09-07 09:15:02 +10:00
parent fb9d8173f0
commit 022ee24197
2 changed files with 6 additions and 5 deletions

View File

@ -1,10 +1,11 @@
20110906
- (djm) [README version.h] Correct version
- (djm) [contrib/redhat/openssh.spec] Correct restorcon => restorecon
- (djm) Respin OpenSSH-5.9p1 release
20110905
- (djm) [README contrib/caldera/openssh.spec contrib/redhat/openssh.spec]
[contrib/suse/openssh.spec] Update version numbers.
- (djm) Release OpenSSH-5.9
20110904
- (djm) [regress/connect-privsep.sh regress/test-exec.sh] demote fatal

View File

@ -40,10 +40,10 @@ start()
# Create keys if necessary
/usr/bin/ssh-keygen -A
if [ -x /sbin/restorecon ]; then
/sbin/restorcon /etc/ssh/ssh_host_key.pub
/sbin/restorcon /etc/ssh/ssh_host_rsa_key.pub
/sbin/restorcon /etc/ssh/ssh_host_dsa_key.pub
/sbin/restorcon /etc/ssh/ssh_host_ecdsa_key.pub
/sbin/restorecon /etc/ssh/ssh_host_key.pub
/sbin/restorecon /etc/ssh/ssh_host_rsa_key.pub
/sbin/restorecon /etc/ssh/ssh_host_dsa_key.pub
/sbin/restorecon /etc/ssh/ssh_host_ecdsa_key.pub
fi
echo -n $"Starting $prog:"