summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 79a9f0e..eaad5ab 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -494,6 +494,9 @@ function conf_mount_ro() {
if($g['platform'] == "cdrom" or $g['platform'] == "pfSense")
return;
+ if (!is_subsystem_dirty('mount'))
+ return;
+
clear_subsystem_dirty('mount');
/* sync data, then force a remount of /cf */
mwexec("/bin/sync");
OpenPOWER on IntegriCloud