projects
/
openwrt
/
staging
/
jow.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/staging/jow.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 e38143f6e733c4700ee05e299a7e8522f373ff07..3635e9c4bdf48782a81357dde66956fb8da45d34 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