[packages_10.03.2] portmap: merge r29063
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Feb 2012 15:54:32 +0000 (15:54 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Feb 2012 15:54:32 +0000 (15:54 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/packages_10.03.2@30239 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/portmap/Makefile
net/portmap/files/portmap.init

index 19c373d..70499aa 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2010 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=portmap
 PKG_VERSION:=6.0
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
 PKG_SOURCE_URL:=http://neil.brown.name/portmap/
index fd7322c..e73701c 100644 (file)
@@ -1,18 +1,13 @@
 #!/bin/sh /etc/rc.common
-# Copyright (C) 2006-2008 OpenWrt.org
+# Copyright (C) 2006-2011 OpenWrt.org
 
 START=19
 STOP=19
 
-NAME=portmap
-PROG=/usr/sbin/$NAME
-DEFAULT=/etc/default/$NAME
-
 start() {
-       [ -f $DEFAULT ] && . $DEFAULT
-       start-stop-daemon -q -S -x $PROG -- $OPTIONS
+       service_start /usr/sbin/portmap
 }
 
 stop() {
-       start-stop-daemon -q -K -x $PROG -- $OPTIONS
+       service_stop /usr/sbin/portmap
 }