Project

General

Profile

« Previous | Next » 

Revision fc1e7d9f

Added by Chris Buechler about 16 years ago

Skip sleep if argument is specified, and update bogons at end of setup wizard.

View differences:

etc/rc.update_bogons.sh
11 11

  
12 12
echo "rc.update_bogons.sh is sleeping for $value" | logger
13 13

  
14
# Sleep for that time.
15
sleep $value
14
# Sleep for that time, unless an argument is specified.
15
if [ ! $1 ]; then
16
    sleep $value
17
fi    
16 18

  
17 19
echo "rc.update_bogons.sh is beginning the update cycle." | logger
18 20

  
usr/local/www/wizards/setup_wizard.xml
411 411
	<description>A reload is now in progress.  Please wait. &lt;p&gt; The system will automatically try to access $myurl in 120 seconds. &lt;p&gt; You can click on the icon above to access the site more quickly.
412 412
	&lt;meta http-equiv="refresh" content="60; url=$myurl" &gt;</description>
413 413
	<stepafterformdisplay>
414
		mwexec_bg("/etc/rc.update_bogons.sh now");
414 415
		reload_all();
415 416
	</stepafterformdisplay>
416 417
</step>

Also available in: Unified diff