diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-11-28 17:30:18 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-11-28 17:30:18 -0500 |
commit | b3405363b90773d69b8de22ef027e0157509d74f (patch) | |
tree | 6d6943802339f6bac600ae99b58d055711b675cc /etc | |
parent | 651a6867747e5bda9e8d5148ee5a710c5c706691 (diff) | |
download | pfsense-b3405363b90773d69b8de22ef027e0157509d74f.zip pfsense-b3405363b90773d69b8de22ef027e0157509d74f.tar.gz |
Use product name
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/ecl.php | 2 | ||||
-rw-r--r-- | etc/inc/config.lib.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/etc/ecl.php b/etc/ecl.php index 8edc3bc..5797cca 100755 --- a/etc/ecl.php +++ b/etc/ecl.php @@ -138,8 +138,8 @@ function find_config_xml() { exec("/sbin/umount /tmp/mnt/cf"); break; } + exec("/sbin/umount /tmp/mnt/cf"); } - exec("/sbin/umount /tmp/mnt/cf"); } } } diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc index f466226..b383921 100644 --- a/etc/inc/config.lib.inc +++ b/etc/inc/config.lib.inc @@ -212,7 +212,7 @@ function restore_backup($file) { copy("$file","/cf/conf/config.xml"); disable_security_checks(); log_error("{$g['product_name']} is restoring the configuration $file"); - file_notice("config.xml", "{$g['product_name']} is restoring the configuration $file", "pfSenseConfigurator", ""); + file_notice("config.xml", "{$g['product_name']} is restoring the configuration $file", "{$g['product_name']}Configurator", ""); conf_mount_ro(); } } |