From 00a4146e93233517bb276c5613a5fc8fa544febb Mon Sep 17 00:00:00 2001 From: jim-p Date: Sun, 12 Jul 2009 00:56:47 -0400 Subject: Make the LEDs strobe to indicate initialization/bootup. Part of feature #17 --- etc/rc.bootup | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc/rc.bootup') diff --git a/etc/rc.bootup b/etc/rc.bootup index 362c735..75ddd36 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -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(); ?> -- cgit v1.1