History log of /openwrt/package/base-files/files/sbin/led.sh
Revision Date Author Comments
# 81d9f2d5 13-Oct-2014 John Crispin <blogic@openwrt.org>

scripts: fix wrong usage of '==' operator

[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 75a299db 05-Jun-2012 Jo-Philipp Wich <jow@openwrt.org>

[package] /etc/functions.sh => /lib/functions.sh

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32062 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 3476a63c 12-Sep-2008 Travis Kemen <thepeople@openwrt.org>

make option name optional

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12585 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 664624ac 04-Aug-2008 John Crispin <blogic@openwrt.org>

add uci led support
- /etc/config/system can hold led info which is applied at boot
- adds /sbin/led.sh to set/clear leds via a name defined in /etc/config/system



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12104 3c298f89-4303-0410-b956-a3cf2f4a3e73