From a0a85ba7c63c87a3503a876698fe9ea6de414cfb Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sat, 18 Jul 2009 09:27:33 +0000 Subject: [PATCH] we are using the default-on trigger for power LEDs, no need to change their state from userspace SVN-Revision: 16892 --- target/linux/brcm63xx/base-files/etc/diag.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 target/linux/brcm63xx/base-files/etc/diag.sh diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh deleted file mode 100755 index 325e4806ea..0000000000 --- a/target/linux/brcm63xx/base-files/etc/diag.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# Copyright (C) 2009 OpenWrt.org - -set_state() { - case "$1" in - done) - [ -d /sys/class/leds/power ] && { - echo 1 >/sys/class/leds/power/brightness - } - ;; - esac -}