From 17730d9d862d2bee9ca9e87c31ca10cf1bd460a7 Mon Sep 17 00:00:00 2001 From: jim-p Date: Sat, 26 Mar 2011 17:33:15 -0400 Subject: Only run conf_mount_rw here if there isn't another process going. --- etc/sshd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/sshd b/etc/sshd index 0664b21..a488729 100755 --- a/etc/sshd +++ b/etc/sshd @@ -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); -- cgit v1.1