Bug#744715: network-console: Add support for the Buffalo Linkstation LS-CHLv2/LS-XHL
Package: network-console
Severity: wishlist
Tags: patch
This patch adds support for the Buffalo Linkstation LS-CHLv2 and LS-XHL.
-- System Information:
Debian Release: 7.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
>From d7d469095a62a973e119f015c970777089cab931 Mon Sep 17 00:00:00 2001
From: Michael Walle <michael@walle.cc>
Date: Thu, 10 Apr 2014 14:37:31 +0200
Subject: [PATCH] Add support for Buffalo Linkstation LS-CHLv2/LS-XHL.
Signed-off-by: Michael Walle <michael@walle.cc>
---
debian/network-console.postinst | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/debian/network-console.postinst b/debian/network-console.postinst
index c3d3cce..f164446 100755
--- a/debian/network-console.postinst
+++ b/debian/network-console.postinst
@@ -141,6 +141,13 @@ case "$ARCHDETECT" in
if [ -e /sys/class/leds/net5big-v2:red:power/brightness ]; then
echo 255 > /sys/class/leds/net5big-v2:red:power/brightness
fi
+ # Buffalo Linkstation LS-CHLv2/LS-XHL
+ if [ -e /sys/class/leds/lsxl:blue:power/trigger ]; then
+ echo none > /sys/class/leds/lsxl:blue:power/trigger
+ fi
+ if [ -e /sys/class/leds/lsxl:red:alarm/brightness ]; then
+ echo 255 > /sys/class/leds/lsxl:red:alarm/brightness
+ fi
;;
arm*/orion5x)
# Buffalo devices
--
1.7.10.4
Reply to: