diff options
author | jim-p <jim@pingle.org> | 2009-07-13 20:13:43 -0400 |
---|---|---|
committer | jim-p <jim@pingle.org> | 2009-07-13 20:13:43 -0400 |
commit | 1c9512f2332dd086bd17c553e85e1c9557c8ab7b (patch) | |
tree | 8ccf4e6fadcdfcc55a24a0ab23cb7a08ca4b7661 /etc/inc | |
parent | 0c8840862458dba73b76b42fbb483ab3790a58ae (diff) | |
download | pfsense-1c9512f2332dd086bd17c553e85e1c9557c8ab7b.zip pfsense-1c9512f2332dd086bd17c553e85e1c9557c8ab7b.tar.gz |
Normalize the LEDs before alerting, in case the others are in the middle of some activity at the time.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/notices.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc index cf6a6a6..c2722b2 100644 --- a/etc/inc/notices.inc +++ b/etc/inc/notices.inc @@ -69,6 +69,7 @@ function file_notice($id, $notice, $category = "General", $url = "", $priority = if(file_exists("/dev/led/error")) exec("/bin/echo 1 > /dev/led/error"); /* wrap & alix */ + led_normalize(); led_morse(1, 'sos'); notify_via_growl($notice); return $queuekey; |