openwrtv3/package/base-files/files/lib/functions
John Crispin 20940138ac 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>

SVN-Revision: 42911
2014-10-14 12:21:11 +00:00
..
leds.sh base-files: introduce commonly used helper functions for setting leds 2013-02-18 09:56:23 +00:00
network.sh base-files: add network_get_ipaddrs_all() 2014-10-09 07:16:29 +00:00
preinit.sh /lib/functions.sh: move preinit related functions to /lib/functions/preinit.sh 2014-04-07 09:50:19 +00:00
service.sh base-files: remove function service_kill 2014-06-02 12:43:10 +00:00
system.sh base-files: strip quotes from the MAC address in macaddr_canonicalize() 2014-07-14 10:25:49 +00:00
uci-defaults-new.sh scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00
uci-defaults.sh scripts: fix wrong usage of '==' operator 2014-10-14 12:21:11 +00:00