diff options
author | Damien Miller <djm@mindrot.org> | 2011-09-07 09:15:02 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2011-09-07 09:15:02 +1000 |
commit | 022ee24197ba115b41d7914daabfb231befdfa70 (patch) | |
tree | 27c5d0d78255ae4690036b4816dd22acad582b20 /contrib/redhat/sshd.init | |
parent | fb9d8173f05e8e9ad985fbcf340170e2a24fab8d (diff) |
- (djm) [contrib/redhat/openssh.spec] Correct restorcon => restorecon
Diffstat (limited to 'contrib/redhat/sshd.init')
-rwxr-xr-x | contrib/redhat/sshd.init | 8 |
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() | |||
40 | # Create keys if necessary | 40 | # Create keys if necessary |
41 | /usr/bin/ssh-keygen -A | 41 | /usr/bin/ssh-keygen -A |
42 | if [ -x /sbin/restorecon ]; then | 42 | if [ -x /sbin/restorecon ]; then |
43 | /sbin/restorcon /etc/ssh/ssh_host_key.pub | 43 | /sbin/restorecon /etc/ssh/ssh_host_key.pub |
44 | /sbin/restorcon /etc/ssh/ssh_host_rsa_key.pub | 44 | /sbin/restorecon /etc/ssh/ssh_host_rsa_key.pub |
45 | /sbin/restorcon /etc/ssh/ssh_host_dsa_key.pub | 45 | /sbin/restorecon /etc/ssh/ssh_host_dsa_key.pub |
46 | /sbin/restorcon /etc/ssh/ssh_host_ecdsa_key.pub | 46 | /sbin/restorecon /etc/ssh/ssh_host_ecdsa_key.pub |
47 | fi | 47 | fi |
48 | 48 | ||
49 | echo -n $"Starting $prog:" | 49 | echo -n $"Starting $prog:" |