summaryrefslogtreecommitdiffstats
path: root/contrib/redhat/sshd.init
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-09-07 01:15:02 +0200
committerDamien Miller <djm@mindrot.org>2011-09-07 01:15:02 +0200
commit022ee24197ba115b41d7914daabfb231befdfa70 (patch)
tree27c5d0d78255ae4690036b4816dd22acad582b20 /contrib/redhat/sshd.init
parent - (djm) [README version.h] Correct version (diff)
downloadopenssh-022ee24197ba115b41d7914daabfb231befdfa70.tar.xz
openssh-022ee24197ba115b41d7914daabfb231befdfa70.zip
- (djm) [contrib/redhat/openssh.spec] Correct restorcon => restorecon
Diffstat (limited to 'contrib/redhat/sshd.init')
-rwxr-xr-xcontrib/redhat/sshd.init8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/redhat/sshd.init b/contrib/redhat/sshd.init
index 2334d8142..e9a751796 100755
--- a/contrib/redhat/sshd.init
+++ b/contrib/redhat/sshd.init
@@ -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:"