]> git.pld-linux.org Git - packages/openssh.git/blobdiff - opensshd.init
- up to 7.2p2; fixes X11 security issue http://www.openssh.com/txt/x11fwd.adv
[packages/openssh.git] / opensshd.init
index d9a805e82107d0695e8693970f2f416d4288f9c7..fe09962804e874f80f8c4aa76b3eb5772e065cf2 100755 (executable)
@@ -11,8 +11,6 @@
 # Source function library
 . /etc/rc.d/init.d/functions
 
-upstart_controlled --except init configtest
-
 # Get network config
 . /etc/sysconfig/network
 
@@ -58,7 +56,7 @@ start() {
 
        checkconfig
 
-       if [ ! -s /etc/ssh/ssh_host_key ]; then
+       if [ "$(echo /etc/ssh/ssh_host*key)" = "/etc/ssh/ssh_host*key" ]; then
                msg_not_running "OpenSSH"
                nls "No SSH host key found! You must run \"%s init\" first." "$0"
                exit 1
This page took 0.034981 seconds and 4 git commands to generate.