Make the LEDs strobe to indicate initialization/bootup.

Part of feature #17
This commit is contained in:
jim-p 2009-07-12 00:56:47 -04:00
parent a1e3c4eb53
commit 00a4146e93

View File

@ -85,6 +85,11 @@ echo " done.\n";
echo "Initializing...";
echo ".";
require_once("/etc/inc/globals.inc");
require_once("/etc/inc/led.inc");
led_normalize();
if (led_count() >= 3) {
led_kitt();
}
echo ".";
/* let the other functions know we're booting */
$pkg_interface = 'console';
@ -350,4 +355,5 @@ mwexec_bg("/usr/sbin/update_dns_cache.sh");
unlink("{$g['varrun_path']}/booting");
unset($g['booting']);
led_normalize();
?>