summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-07-12 00:56:47 -0400
committerjim-p <jim@pingle.org>2009-07-12 00:59:25 -0400
commit00a4146e93233517bb276c5613a5fc8fa544febb (patch)
treef67de29d3446eb96c790c7992562402bdacc0833 /etc/rc.bootup
parenta1e3c4eb53e0a28e66378630e09355ccf7268645 (diff)
downloadpfsense-00a4146e93233517bb276c5613a5fc8fa544febb.zip
pfsense-00a4146e93233517bb276c5613a5fc8fa544febb.tar.gz
Make the LEDs strobe to indicate initialization/bootup.
Part of feature #17
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup6
1 files changed, 6 insertions, 0 deletions
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();
?>
OpenPOWER on IntegriCloud