diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/cns21xx/base-files/etc/.svn | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'target/linux/cns21xx/base-files/etc/.svn')
3 files changed, 104 insertions, 0 deletions
diff --git a/target/linux/cns21xx/base-files/etc/.svn/entries b/target/linux/cns21xx/base-files/etc/.svn/entries new file mode 100644 index 0000000..04adfce --- /dev/null +++ b/target/linux/cns21xx/base-files/etc/.svn/entries @@ -0,0 +1,65 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/cns21xx/base-files/etc +svn://svn.openwrt.org/openwrt + + + +2013-02-18T09:56:28.509001Z +35651 +juhosg + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +uci-defaults +dir + +diag.sh +file + + + + +2013-03-17T12:12:28.000000Z +d3a05beb6a30e14c33d78ae5aabc0857 +2013-02-18T09:56:28.509001Z +35651 +juhosg +has-props + + + + + + + + + + + + + + + + + + + + +382 + diff --git a/target/linux/cns21xx/base-files/etc/.svn/prop-base/diag.sh.svn-base b/target/linux/cns21xx/base-files/etc/.svn/prop-base/diag.sh.svn-base new file mode 100644 index 0000000..03b5bfa --- /dev/null +++ b/target/linux/cns21xx/base-files/etc/.svn/prop-base/diag.sh.svn-base @@ -0,0 +1,9 @@ +K 13 +svn:eol-style +V 6 +native +K 14 +svn:executable +V 1 +* +END diff --git a/target/linux/cns21xx/base-files/etc/.svn/text-base/diag.sh.svn-base b/target/linux/cns21xx/base-files/etc/.svn/text-base/diag.sh.svn-base new file mode 100644 index 0000000..e5b7ad5 --- /dev/null +++ b/target/linux/cns21xx/base-files/etc/.svn/text-base/diag.sh.svn-base @@ -0,0 +1,30 @@ +#!/bin/sh +# Copyright (C) 2010-2013 OpenWrt.org + +. /lib/functions/leds.sh +. /lib/cns21xx.sh + +get_status_led() { + case $(get_board_name) in + ns-k330) + status_led="ns-k330:red:link" + ;; + esac; +} + +set_state() { + get_status_led + + case "$1" in + preinit) + insmod leds-gpio + status_led_blink_preinit + ;; + failsafe) + status_led_blink_failsafe + ;; + done) + status_led_on + ;; + esac +} |