summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-04-16 23:11:46 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-04-16 23:11:46 -0400
commitdfd6af96ceb762ac79dd55b554a9523245b7aa9e (patch)
tree3cec3c22aa8a74f37dd65f9acb017a683a82ae15 /etc
parent03918ae18226d99b76924eb6ae83739a0b639272 (diff)
downloadpfsense-dfd6af96ceb762ac79dd55b554a9523245b7aa9e.zip
pfsense-dfd6af96ceb762ac79dd55b554a9523245b7aa9e.tar.gz
Add . for every second firmware update is running
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.initial.firmware_update6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/rc.initial.firmware_update b/etc/rc.initial.firmware_update
index 638918f..ca45148 100755
--- a/etc/rc.initial.firmware_update
+++ b/etc/rc.initial.firmware_update
@@ -155,14 +155,16 @@ function check_for_kernel_file() {
function do_upgrade($path, $type) {
global $g;
check_for_kernel_file();
- echo "\nOne moment please...\nInvoking firmware upgrade... ";
+ echo "\nOne moment please...\nInvoking firmware upgrade...";
if($type == "bdiff")
mwexec_bg("/etc/rc.firmware delta_update $path");
else
mwexec_bg("/etc/rc.firmware pfSenseupgrade $path");
sleep(10);
- while(file_exists("{$g['varrun_path']}/firmware.lock"))
+ while(file_exists("{$g['varrun_path']}/firmware.lock")) {
sleep(1);
+ echo ".";
+ }
echo "Done. Rebooting...\n\n";
}
OpenPOWER on IntegriCloud