aboutsummaryrefslogtreecommitdiffstats
path: root/config/sshdcond/sshdcond.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/sshdcond/sshdcond.inc')
-rw-r--r--config/sshdcond/sshdcond.inc6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/sshdcond/sshdcond.inc b/config/sshdcond/sshdcond.inc
index 12af3551..c7c19291 100644
--- a/config/sshdcond/sshdcond.inc
+++ b/config/sshdcond/sshdcond.inc
@@ -39,29 +39,23 @@ function restart_sshd() {
function sshdcond_custom_php_install_command() {
global $g, $config;
- conf_mount_rw();
-
/* We need to generate an outfile for our extra commands.
The patched g_szSSHDFileGenerate php file then reads and appends that config.
*/
$fd = fopen("/etc/ssh/sshd_extra", 'w');
fclose($fd);
- conf_mount_ro();
}
function sshdcond_custom_php_deinstall_command() {
global $g, $config;
- conf_mount_rw();
-
/* Delete our config file. */
unlink_if_exists("/etc/ssh/sshd_extra");
/* Re-run sshd config generation script. */
restart_sshd();
- conf_mount_ro();
}
function sshdcond_custom_php_write_config() {