diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-24 20:34:55 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-24 20:34:55 +0000 |
commit | 3ea05002bf6c5e613407f9c75d0e3d372e9a26e7 (patch) | |
tree | bf464e0ef6e006fa5fb0161458e3ea8d73d392e7 /etc/sshd | |
parent | 8551d2effc6ed2443afab925d4fc68aa658161f2 (diff) | |
download | pfsense-3ea05002bf6c5e613407f9c75d0e3d372e9a26e7.zip pfsense-3ea05002bf6c5e613407f9c75d0e3d372e9a26e7.tar.gz |
Do not perform mount operations
Diffstat (limited to 'etc/sshd')
-rwxr-xr-x | etc/sshd | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -48,21 +48,6 @@ } } - if($argv[1] == "stop" || $argv[0] == "stop") { - if(file_exists("/root/.authorized_keys")) { - $ak = return_filename_as_string("/root/.authorized_keys"); - $ak = base64_encode($ak); - if($ak <> $config['ssh']['ak']) { - echo "Syncing /root/.authorized_keys..."; - conf_mount_rw(); - $config['ssh']['ak'] = $ak; - write_config("Syncing changed authorized_keys ssh file."); - conf_mount_ro(); - } - } - exit; - } - if (!is_dir("/var/empty")) { /* make ssh home directory */ mkdir("/var/empty", 0555); |