diff options
author | jim-p <jimp@pfsense.org> | 2011-03-26 17:33:15 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-03-26 17:33:15 -0400 |
commit | 17730d9d862d2bee9ca9e87c31ca10cf1bd460a7 (patch) | |
tree | 9e9e032309eb41bf0c67656f9b28529c4d587292 /etc/sshd | |
parent | 974c5af72910433fbafeb9266018b1e2919a676a (diff) | |
download | pfsense-17730d9d862d2bee9ca9e87c31ca10cf1bd460a7.zip pfsense-17730d9d862d2bee9ca9e87c31ca10cf1bd460a7.tar.gz |
Only run conf_mount_rw here if there isn't another process going.
Diffstat (limited to 'etc/sshd')
-rwxr-xr-x | etc/sshd | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -42,7 +42,10 @@ exit; } - conf_mount_rw(); + /* are we already running? if not, do conf_mount_rw(), otherwise it should already be rw */ + if(!is_subsystem_dirty('sshdkeys')) { + conf_mount_rw(); + } function file_size($file) { $size = filesize($file); |