mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Make the LEDs strobe to indicate initialization/bootup.
Part of feature #17
This commit is contained in:
parent
a1e3c4eb53
commit
00a4146e93
@ -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();
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user