Displaying 1 result from an estimated 1 matches for "sshd_start".
2001 Feb 18
3
PATCH: Round 2: RH initscripts backward compatibility
...YGEN}" -q -t dsa -f "${DSA_KEY}" -C '' -N '' \
+ &>/dev/null
+ then
+ my_success $"DSA key generation"
echo
else
- failure "DSA key generation"
+ my_failure $"DSA key generation"
echo
exit 1
fi
fi
}
+sshd_start()
+{
+ # Create keys if necessary
+ sshd_do_rsa1_keygen
+ sshd_do_rsa_keygen
+ sshd_do_dsa_keygen
+
+ my_action $"Starting ${PROG}: " $"${PROG}" $"" "${SSHD}"
+ RETVAL=$?
+ [ "${RETVAL}" = 0 ] && touch "${LOCKFILE}"
+}
+
+sshd_stop...