diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-08-01 23:12:07 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-08-01 23:12:07 +0000 |
commit | 668b7b2ea0618cdfd2382b290b709bed93feb2ab (patch) | |
tree | c5c19a79e6a2ea9e0699c6e8d732e72c31ab36e5 /etc/sshd | |
parent | 59d09874f9b55f761efa5418b36d0930a2cf57cd (diff) | |
download | pfsense-668b7b2ea0618cdfd2382b290b709bed93feb2ab.zip pfsense-668b7b2ea0618cdfd2382b290b709bed93feb2ab.tar.gz |
Correctly start SSHD
Diffstat (limited to 'etc/sshd')
-rwxr-xr-x | etc/sshd | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -32,8 +32,12 @@ $stderr = fopen("php://stderr", "w"); - if(!isset($config['system']['enablesshd'])) - exit; + if(isset($config['system']['enablesshd'])) { + /* do nothing, we're enabled */ + } else { + if($g['booting']) + echo "SSHD is disabled."; + } function file_size($file) { $size = filesize($file); |