summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.lib.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-30 16:48:47 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-30 16:48:47 -0500
commit5ba5a8de2e26a617180a838ee58eb403312000e0 (patch)
treed0b8114816112d0b1a7466582ce22b79ac83ba3f /etc/inc/config.lib.inc
parent00bc5bcc87a5e5f8aa7fc5e33973add703d688b4 (diff)
downloadpfsense-5ba5a8de2e26a617180a838ee58eb403312000e0.zip
pfsense-5ba5a8de2e26a617180a838ee58eb403312000e0.tar.gz
Use pfSense_sync()
Diffstat (limited to 'etc/inc/config.lib.inc')
-rw-r--r--etc/inc/config.lib.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc
index 2d51db7..0215ddc 100644
--- a/etc/inc/config.lib.inc
+++ b/etc/inc/config.lib.inc
@@ -39,7 +39,7 @@
POSSIBILITY OF SUCH DAMAGE.
- pfSense_BUILDER_BINARIES: /sbin/mount /sbin/sysctl /sbin/umount /sbin/halt /sbin/fsck /bin/sync
+ pfSense_BUILDER_BINARIES: /sbin/mount /sbin/sysctl /sbin/umount /sbin/halt /sbin/fsck
pfSense_MODULE: config
*/
@@ -353,7 +353,7 @@ function conf_mount_ro() {
clear_subsystem_dirty('mount');
/* sync data, then force a remount of /cf */
- mwexec("/bin/sync; /bin/sync");
+ pfSense_sync();
mwexec("/sbin/mount -u -r -f {$g['cf_path']}");
mwexec("/sbin/mount -u -r -f /");
}
@@ -455,7 +455,7 @@ function safe_write_file($file, $content, $force_binary) {
}
// Sync file before returning
- exec("/bin/sync");
+ pfSense_sync();
return true;
}
OpenPOWER on IntegriCloud