diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-25 20:32:03 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-25 20:32:03 +0000 |
commit | 58aab0eef3cfc7a4ffabe9f145141d78fb17a115 (patch) | |
tree | a13528422925d3141626cd4c22b20edcefcc86af /etc/rc.initial.store_config_to_removable_device | |
parent | 4590d37424ebbd6382b86fff8f481735cb8dbecd (diff) | |
download | pfsense-58aab0eef3cfc7a4ffabe9f145141d78fb17a115.zip pfsense-58aab0eef3cfc7a4ffabe9f145141d78fb17a115.tar.gz |
Umount nullfs in the correct spot
Diffstat (limited to 'etc/rc.initial.store_config_to_removable_device')
-rwxr-xr-x | etc/rc.initial.store_config_to_removable_device | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.initial.store_config_to_removable_device b/etc/rc.initial.store_config_to_removable_device index 3a98dff..229a497 100755 --- a/etc/rc.initial.store_config_to_removable_device +++ b/etc/rc.initial.store_config_to_removable_device @@ -68,11 +68,11 @@ echo "\n\nProcessing: "; config_lock(); - echo " nullfs... "; - system("/sbin/umount /cf/conf"); echo "moving..."; mwexec("/bin/mv /cf/conf/config.xml /mnt/cf/"); echo "removing old..."; + echo " nullfs... "; + system("/sbin/umount /cf/conf"); mwexec("/bin/rm -rf /cf"); mwexec("/bin/rm -rf /conf"); mwexec("/bin/mkdir /cf/"); @@ -82,6 +82,6 @@ mwexec("/bin/rm -rf /var/db/pfi"); config_unlock(); echo "done.\n"; - echo "You're configuration has been moved to {$move_config_to_device}\n"; + echo "\nYou're configuration has been moved to {$move_config_to_device}\n"; ?>
\ No newline at end of file |