summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-19 01:17:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-19 01:17:40 +0000
commitfdfc687cdcff22383de2a542404d322543af94b9 (patch)
treedea96e357b3d793afea26627471a2df3aa1b10cd /etc/sshd
parent017cd1ad4d0ab337dcf5fd6afa94622becee5f0f (diff)
downloadpfsense-fdfc687cdcff22383de2a542404d322543af94b9.zip
pfsense-fdfc687cdcff22383de2a542404d322543af94b9.tar.gz
File an alert when SSHD didn't start correctly
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/sshd b/etc/sshd
index d6b46d7..a226a01 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -104,6 +104,7 @@
$status = system("/usr/sbin/sshd");
if($status <> 0) {
+ file_notice("sshd_startup", "SSHD failed to start.", "SSHD Daemon", "");
echo "Error!\n";
} else {
echo "Done.\n";
OpenPOWER on IntegriCloud