summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-01-29 21:11:09 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-01-29 21:11:09 +0000
commit385b3413cdd16e4f4282fd07743d9ec2f3d940c9 (patch)
tree260ff49a2ebc05a489e389f9f93a08f91d23de09 /etc
parentd0d32c1b1c3f47b423ca400b03b81bcbd47be9ff (diff)
downloadpfsense-385b3413cdd16e4f4282fd07743d9ec2f3d940c9.zip
pfsense-385b3413cdd16e4f4282fd07743d9ec2f3d940c9.tar.gz
Woops, use /dev/led/error
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/notices.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc
index 9c9740e..5fa5d47 100644
--- a/etc/inc/notices.inc
+++ b/etc/inc/notices.inc
@@ -64,8 +64,8 @@ function file_notice($id, $notice, $category = "General", $url = "", $priority =
fwrite($queueout, serialize($queue));
fclose($queueout);
log_error("New alert found: {$notice}");
- if(file_exists("/dev/led1"))
- exec("echo 1 > /dev/led1");
+ if(file_exists("/dev/led/error"))
+ exec("echo 1 > /dev/led/error");
return $queuekey;
}
@@ -118,8 +118,8 @@ function close_notice($id) {
} else {
unlink_if_exists($notice_path);
}
- if(file_exists("/dev/led1"))
- exec("echo 0 > /dev/led1");
+ if(file_exists("/dev/led/error"))
+ exec("echo 0 > /dev/led/error");
return;
}
OpenPOWER on IntegriCloud