summaryrefslogtreecommitdiffstats
path: root/src/etc/sshd
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-12 15:49:43 -0300
committerRenato Botelho <renato@netgate.com>2016-10-12 16:23:14 -0300
commit1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd (patch)
treeaba47ff46f335961f91cae4ba2e228e49209b310 /src/etc/sshd
parenteec44c64709c6e9dfc86f734476e547c3c2f67e8 (diff)
downloadpfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.zip
pfsense-1289c0c17c38048b3f3fa18ff4a0f5a3d3533fdd.tar.gz
Remove all calls to conf_mount_r* functions
Diffstat (limited to 'src/etc/sshd')
-rwxr-xr-xsrc/etc/sshd6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/etc/sshd b/src/etc/sshd
index d4864e9..48959b9 100755
--- a/src/etc/sshd
+++ b/src/etc/sshd
@@ -30,11 +30,6 @@ if (!isset($config['system']['enablesshd'])) {
return;
}
-/* are we already running? if not, do conf_mount_rw(), otherwise it should already be rw */
-if (!is_subsystem_dirty('sshdkeys')) {
- conf_mount_rw();
-}
-
$sshConfigDir = "/etc/ssh";
$keys = array(
@@ -198,6 +193,5 @@ if ($g['platform'] == "nanobsd") {
}
$_gb = exec("/bin/cp -p {$sshConfigDir}/ssh_host* /conf/sshd");
}
-conf_mount_ro();
unset($keys, $keyfiles);
?>
OpenPOWER on IntegriCloud