projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts: fix wrong usage of '==' operator
[openwrt.git]
/
package
/
network
/
services
/
relayd
/
files
/
relay.init
diff --git
a/package/network/services/relayd/files/relay.init
b/package/network/services/relayd/files/relay.init
index
e38143f
..
3635e9c
100644
(file)
--- a/
package/network/services/relayd/files/relay.init
+++ b/
package/network/services/relayd/files/relay.init
@@
-39,7
+39,7
@@
start_relay() {
local ifaces=""
config_get proto "$cfg" proto
- [
[ "$proto" == relay ]
] || return 0
+ [
"$proto" = "relay"
] || return 0
SERVICE_DAEMONIZE=1
SERVICE_WRITE_PID=1