[packages] fix miniupnpd initscript: no need to include /var/state/network anymore...
authorNicolas Thill <nico@openwrt.org>
Tue, 23 Sep 2008 23:23:52 +0000 (23:23 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 23 Sep 2008 23:23:52 +0000 (23:23 +0000)
SVN-Revision: 12677

net/miniupnpd/Makefile
net/miniupnpd/files/miniupnpd.init

index d0d0e45..68b18b4 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=miniupnpd
 PKG_VERSION:=1.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_MD5SUM:=a0f6651476721db9b554668c8c83b151
 
 PKG_SOURCE_URL:=http://miniupnp.free.fr/files
index 33f6b5b..446a37c 100644 (file)
@@ -4,7 +4,6 @@ start() {
        config_load "upnpd"
        include /lib/network
        scan_interfaces
-       . /var/state/network
        config_get ifname wan ifname
        config_get ipaddr lan ipaddr