packages/darkstat: rename uci config file
authorNicolas Thill <nico@openwrt.org>
Thu, 17 Nov 2011 11:48:55 +0000 (11:48 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 17 Nov 2011 11:48:55 +0000 (11:48 +0000)
SVN-Revision: 29224

net/darkstat/Makefile
net/darkstat/files/darkstat.conf [deleted file]
net/darkstat/files/darkstat.config [new file with mode: 0644]

index 99eb1370824df8a2edd035b2da9fc6e10a830d07..4ebbf06a9e2ee2938ffd3457e171d65abe4a7a8f 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=darkstat
 PKG_VERSION:=3.0.714
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=http://dmr.ath.cx/net/darkstat
@@ -55,7 +55,7 @@ define Package/darkstat/install
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/darkstat.init $(1)/etc/init.d/darkstat
        $(INSTALL_DIR) $(1)/etc/config
-       $(INSTALL_CONF) ./files/darkstat.conf $(1)/etc/config/darkstat
+       $(INSTALL_CONF) ./files/darkstat.config $(1)/etc/config/darkstat
 endef
 
 $(eval $(call BuildPackage,darkstat))
diff --git a/net/darkstat/files/darkstat.conf b/net/darkstat/files/darkstat.conf
deleted file mode 100644 (file)
index f83760e..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-config darkstat
-       option interface 'lan'
-#      option httpaddr  '0.0.0.0'
-#      option httpport  '667'
diff --git a/net/darkstat/files/darkstat.config b/net/darkstat/files/darkstat.config
new file mode 100644 (file)
index 0000000..f83760e
--- /dev/null
@@ -0,0 +1,4 @@
+config darkstat
+       option interface 'lan'
+#      option httpaddr  '0.0.0.0'
+#      option httpport  '667'