From 9233c3cdb934c97f06168a0ad51379806fef5ae0 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sat, 29 Sep 2007 14:27:54 +0000 Subject: get rid of per-profile base-files git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9069 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar7/base-files/default/etc/diag.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 target/linux/ar7/base-files/default/etc/diag.sh (limited to 'target/linux/ar7/base-files/default/etc/diag.sh') diff --git a/target/linux/ar7/base-files/default/etc/diag.sh b/target/linux/ar7/base-files/default/etc/diag.sh deleted file mode 100644 index 22acc71abf..0000000000 --- a/target/linux/ar7/base-files/default/etc/diag.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -# Copyright (C) 2007 OpenWrt.org - -set_led() { - local led="$1" - local state="$2" - [ -d "/sys/class/leds/ar7:$led" ] && echo "$state" > "/sys/class/leds/ar7:$led/brightness" -} - -set_state() { - case "$1" in - preinit) - set_led status 1 - ;; - done) - set_led status 0 - ;; - esac -} -- cgit v1.2.3