summaryrefslogtreecommitdiffstats
path: root/etc/sshd
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-03-26 17:21:55 -0400
committerjim-p <jimp@pfsense.org>2011-03-26 17:21:55 -0400
commit63e18082bb98d51763e542d5c4094793b300eb60 (patch)
treeb180049ea306f8ff1a6091d4d3bd56aa8ad7964e /etc/sshd
parentcd2c71fcf695d1bc82d6c6c1b25a9a68e8a5837a (diff)
downloadpfsense-63e18082bb98d51763e542d5c4094793b300eb60.zip
pfsense-63e18082bb98d51763e542d5c4094793b300eb60.tar.gz
Backing this out to see if it unbreaks NanoBSD upgrades with packages involved. Revert "Workaround for conf_mount_rw/ro during boot to only allow it to change at the start and end. Fixes #1279"
This reverts commit 548be1fd6697ab115cbb29d61bc5507744488094.
Diffstat (limited to 'etc/sshd')
-rwxr-xr-xetc/sshd6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/sshd b/etc/sshd
index 67fbe00..28c8e55 100755
--- a/etc/sshd
+++ b/etc/sshd
@@ -42,7 +42,7 @@
exit;
}
- conf_mount_rw(true);
+ conf_mount_rw();
function file_size($file) {
$size = filesize($file);
@@ -138,7 +138,7 @@
/* are we already running? if so exit */
if(is_subsystem_dirty('sshdkeys')) {
- conf_mount_ro(true);
+ conf_mount_ro();
exit;
}
@@ -185,6 +185,6 @@
exec("mkdir /conf/sshd");
exec("/bin/cp -p /etc/ssh/ssh_host* /conf/sshd");
}
- conf_mount_ro(true);
+ conf_mount_ro();
?>
OpenPOWER on IntegriCloud