From ee096757bb941ccf652d415ff251966ef1dd06fc Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 9 Jul 2005 21:39:12 +0000 Subject: [PATCH] conifg -> conf --- etc/inc/pfsense-utils.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 1a863aeb0a..b92602e1ae 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -675,7 +675,7 @@ function backup_config_section($section) { */ function restore_config_section($section, $new_contents) { global $config; - config_mount_rw(); + conf_mount_rw(); $fout = fopen("{$g['tmp_path']}/tmpxml","w"); fwrite($fout, $new_contents); fclose($fout); @@ -683,7 +683,7 @@ function restore_config_section($section, $new_contents) { $config[$section] = &$section_xml; unlink($g['tmp_path'] . "/tmpxml"); write_config("Restored {$section} of config file (maybe from CARP partner)"); - config_mount_ro(); + conf_mount_ro(); return; }