summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-23 05:06:23 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-23 05:06:23 +0000
commitb15e2ed4057f9905bf986610ce9a0571a0f1db69 (patch)
treee7a5604ec12c6aee0c411effbac79173c48557d1 /etc/sshd
parentb99895fe1f5439511a872cf5dd729fcf40e44239 (diff)
downloadpfsense-b15e2ed4057f9905bf986610ce9a0571a0f1db69.zip
pfsense-b15e2ed4057f9905bf986610ce9a0571a0f1db69.tar.gz
Exit when ssh is disabled
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 e1a709c..1c379e5 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -35,6 +35,7 @@
} else {
if($g['booting'])
echo "SSHD is disabled.";
+ exit;
}
function file_size($file) {
OpenPOWER on IntegriCloud