summaryrefslogtreecommitdiff
path: root/package/linux-atm
diff options
context:
space:
mode:
Diffstat (limited to 'package/linux-atm')
-rw-r--r--package/linux-atm/Makefile2
-rwxr-xr-xpackage/linux-atm/files/br2684ctl10
2 files changed, 10 insertions, 2 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile
index 1ac0a21..4543f7a 100644
--- a/package/linux-atm/Makefile
+++ b/package/linux-atm/Makefile
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=linux-atm
PKG_VERSION:=2.5.2
-PKG_RELEASE:=3
+PKG_RELEASE:=4
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 b2199e6..cd53f04 100755
--- a/package/linux-atm/files/br2684ctl
+++ b/package/linux-atm/files/br2684ctl
@@ -1,5 +1,8 @@
#!/bin/sh /etc/rc.common
+
+. /lib/functions/network.sh
+
START=50
SERVICE_DAEMONIZE=1
@@ -43,11 +46,16 @@ start_daemon() {
config_get sendsize "$cfg" sendsize
local circuit="$atmdev.$vpi.$vci"
-
+
+ network_defer_device "nas$unit"
+
SERVICE_PID_FILE="/var/run/br2684ctl-$circuit.pid" \
service_start /usr/sbin/br2684ctl \
-c "$unit" -e "$encaps" -p "$payload" \
-a "$circuit" ${qos:+-q "$qos"} ${sendsize:+-s "$sendsize"}
+ sleep 1
+
+ network_ready_device "nas$unit"
}
stop_daemon() {