diff options
author | Ermal <eri@pfsense.org> | 2010-03-23 22:21:36 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-23 22:21:36 +0000 |
commit | 90680a1eeeab4c3652464537254e44c4c54a8ba7 (patch) | |
tree | 3855b01437b9e8d28a8c4026abc20f927333b11f /etc | |
parent | 328efaba8493e83dad27c29408fa1feded4710e3 (diff) | |
download | pfsense-90680a1eeeab4c3652464537254e44c4c54a8ba7.zip pfsense-90680a1eeeab4c3652464537254e44c4c54a8ba7.tar.gz |
backup_config() does not need to be wrapped with conf_mount_rw().
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/config.lib.inc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/etc/inc/config.lib.inc b/etc/inc/config.lib.inc index c1672e2..e3c0561 100644 --- a/etc/inc/config.lib.inc +++ b/etc/inc/config.lib.inc @@ -567,11 +567,8 @@ function config_restore($conffile) { if (!file_exists($conffile)) return 1; - conf_mount_rw(); - backup_config(); - // backup_config() will mount RO again when finished. conf_mount_rw(); $lockkey = lock('config'); |