[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 d0d0e456d5a2ed4faef9a262df2a163981da5a88..68b18b4295bfd5d777abfcc9dbe803da245baa47 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 33f6b5b0f5be2a3ceb220ba0219a95c7d426114f..446a37cecbff775f069b12f072334a893fdd9006 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