From 7877ca154f130fe0c83a5f151320c3ce902195d1 Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 30 Apr 2012 18:27:12 +0000 Subject: relayd: move the interface fixup to the right place git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31545 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/relayd/files/relay.init | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'package/relayd/files') diff --git a/package/relayd/files/relay.init b/package/relayd/files/relay.init index 314f65baf5..307fbf2baf 100644 --- a/package/relayd/files/relay.init +++ b/package/relayd/files/relay.init @@ -11,6 +11,7 @@ resolve_ifname() { resolve_network() { local ifn + fixup_interface "$1" config_get ifn "$1" ifname [ -z "$ifn" ] && return 1 resolve_ifname "$ifn" @@ -26,8 +27,6 @@ start_relay() { config_get proto "$cfg" proto [[ "$proto" == relay ]] || return 0 - fixup_interface "$cfg" - SERVICE_DAEMONIZE=1 SERVICE_WRITE_PID=1 SERVICE_PID_FILE="/var/run/relay-$cfg.pid" -- cgit v1.2.3