summaryrefslogtreecommitdiff
path: root/package/linux-atm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-10-23 19:53:44 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-10-23 19:53:44 +0000
commit5fa23c07457115fbbb7f06f25aea19b063a06bbb (patch)
treeeed59755423f406ee8c60447b3bea2f61851e026 /package/linux-atm
parentf600ec5b3b916517adf9a95c768964e8759e7e04 (diff)
downloadmtk-20170518-5fa23c07457115fbbb7f06f25aea19b063a06bbb.zip
mtk-20170518-5fa23c07457115fbbb7f06f25aea19b063a06bbb.tar.gz
mtk-20170518-5fa23c07457115fbbb7f06f25aea19b063a06bbb.tar.bz2
linux-atm: fix offline postinstall for br2684ctl
SVN-Revision: 33900
Diffstat (limited to 'package/linux-atm')
-rw-r--r--package/linux-atm/Makefile4
-rwxr-xr-xpackage/linux-atm/files/br2684ctl5
2 files changed, 4 insertions, 5 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index f829b70..7b5cf1f 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2006-2011 OpenWrt.org
+# Copyright (C) 2006-2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=linux-atm
PKG_VERSION:=2.5.2
-PKG_RELEASE:=4
+PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
diff --git a/package/linux-atm/files/br2684ctl b/package/linux-atm/files/br2684ctl
index cd53f04..30b1a44 100755
--- a/package/linux-atm/files/br2684ctl
+++ b/package/linux-atm/files/br2684ctl
@@ -1,14 +1,13 @@
#!/bin/sh /etc/rc.common
-
-. /lib/functions/network.sh
-
START=50
SERVICE_DAEMONIZE=1
SERVICE_WRITE_PID=1
start_daemon() {
+ . /lib/functions/network.sh
+
local cfg="$1"
local atmdev