From 3ea05002bf6c5e613407f9c75d0e3d372e9a26e7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 24 Jul 2005 20:34:55 +0000 Subject: Do not perform mount operations --- etc/sshd | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'etc/sshd') diff --git a/etc/sshd b/etc/sshd index dc9320b..ece1d21 100755 --- a/etc/sshd +++ b/etc/sshd @@ -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); -- cgit v1.1