diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-31 01:15:32 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-31 01:15:32 +0000 |
commit | 36aaefff61f6107126912d4038a7d2cf1cb49c09 (patch) | |
tree | ff2853eaff6bbd65dd712c10aad62199c5353432 /etc/sshd | |
parent | 3d941d72333ae7a4451f3e39e150029aa6f4794d (diff) | |
download | pfsense-36aaefff61f6107126912d4038a7d2cf1cb49c09.zip pfsense-36aaefff61f6107126912d4038a7d2cf1cb49c09.tar.gz |
Allow SSH service to be disabled / enabled.
Diffstat (limited to 'etc/sshd')
-rwxr-xr-x | etc/sshd | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -32,6 +32,9 @@ $stderr = fopen("php://stderr", "w"); + if(!isset($config['sshenabled'])) + exit; + function file_size($file) { $size = filesize($file); return $size; |