diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2011-03-22 01:28:23 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2011-03-22 01:28:23 -0600 |
commit | 548be1fd6697ab115cbb29d61bc5507744488094 (patch) | |
tree | 86482a6e815a4fa6f7a2f347001feddee82d2d65 /etc/sshd | |
parent | fc2c320e2cddb09764f5fb34b5043452654520be (diff) | |
download | pfsense-548be1fd6697ab115cbb29d61bc5507744488094.zip pfsense-548be1fd6697ab115cbb29d61bc5507744488094.tar.gz |
Workaround for conf_mount_rw/ro during boot to only allow it to change at the start and end. Fixes #1279
Diffstat (limited to 'etc/sshd')
-rwxr-xr-x | etc/sshd | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -42,7 +42,7 @@ exit; } - conf_mount_rw(); + conf_mount_rw(true); 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(); + conf_mount_ro(true); exit; } @@ -185,6 +185,6 @@ exec("mkdir /conf/sshd"); exec("/bin/cp -p /etc/ssh/ssh_host* /conf/sshd"); } - conf_mount_ro(); + conf_mount_ro(true); ?> |