2 start on pld.network-started and started SERVICE_syslog=y and started random
3 stop on pld.shutdown-started
11 test -x /usr/sbin/sshd || { stop; exit 0; }
12 test -c /dev/null || { stop; exit 0; }
14 if [ ! -s /etc/ssh/ssh_host_key \
15 -o ! -s /etc/ssh/ssh_host_rsa_key \
16 -o ! -s /etc/ssh/ssh_host_dsa_key \
17 -o ! -s /etc/ssh/ssh_host_ecdsa_key \
19 # call gen keys if any of the files above is missing or empty
20 /etc/rc.d/init.d/sshd ssh_gen_keys
25 . /etc/rc.d/init.d/functions
26 . /etc/sysconfig/network
28 if is_yes "$IPV4_NETWORKING" && is_no "$IPV6_NETWORKING"; then
31 if is_yes "$IPV6_NETWORKING" && is_no "$IPV4_NETWORKING"; then
35 exec /usr/sbin/sshd -D $OPTIONS