diff options
-rwxr-xr-x | etc/rc.initial.store_config_to_removable_device | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.initial.store_config_to_removable_device b/etc/rc.initial.store_config_to_removable_device index 50933ab..8c507c5 100755 --- a/etc/rc.initial.store_config_to_removable_device +++ b/etc/rc.initial.store_config_to_removable_device @@ -67,7 +67,7 @@ } echo "\n\nProcessing: "; - + config_lock(); echo "moving..."; mwexec("/bin/mv /cf/conf/config.xml /mnt/cf/"); echo "removing old..."; @@ -78,6 +78,7 @@ mwexec("/bin/ln -s /mnt/cf /cf/conf"); mwexec("/bin/ln -s /mnt/cf /conf"); mwexec("/bin/rm -rf /var/db/pfi"); + config_unlock(); echo "done.\n\n"; |