aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/relayd/files
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-09-23 21:58:36 +0000
committerLuka Perkov <luka@openwrt.org>2013-09-23 21:58:36 +0000
commitcebf051302432ae8d98dc14c01e7698f2e1240f9 (patch)
treee2d95e46c7f0ddee32863620a67ce304b751c1eb /package/network/services/relayd/files
parentb9c7eca5597c3afa10e1f0b2a70bffabe7c192e2 (diff)
downloadupstream-cebf051302432ae8d98dc14c01e7698f2e1240f9.tar.gz
upstream-cebf051302432ae8d98dc14c01e7698f2e1240f9.tar.bz2
upstream-cebf051302432ae8d98dc14c01e7698f2e1240f9.zip
[package] fix various init scripts
Changes include: * removing unused variables * replacing spaces with tabs where appropriate * more consistency with variable declarations Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38142 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/relayd/files')
-rw-r--r--package/network/services/relayd/files/relay.init7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/network/services/relayd/files/relay.init b/package/network/services/relayd/files/relay.init
index edc419c0b9..d73df6ab55 100644
--- a/package/network/services/relayd/files/relay.init
+++ b/package/network/services/relayd/files/relay.init
@@ -1,5 +1,6 @@
#!/bin/sh /etc/rc.common
# Copyright (c) 2011-2012 OpenWrt.org
+
START=80
USE_PROCD=1
@@ -40,8 +41,8 @@ start_relay() {
fi
}
- procd_open_instance
- procd_set_param command "$PROG"
+ procd_open_instance
+ procd_set_param command "$PROG"
local net networks
config_get networks "$cfg" network
@@ -83,7 +84,7 @@ start_relay() {
local fwd_dhcp # = 1
config_get_bool fwd_dhcp "$cfg" forward_dhcp 1
- [ $fwd_dhcp -eq 1 ] && procd_append_param command"-D"
+ [ $fwd_dhcp -eq 1 ] && procd_append_param command "-D"
procd_close_instance
}