From: Florian Fainelli Date: Sat, 11 Sep 2010 18:38:34 +0000 (+0000) Subject: [package] install bandwidthd logo (#7794) X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=c1452a17facfccdd0b2db103d9d32e9ea8f38c38;ds=sidebyside [package] install bandwidthd logo (#7794) SVN-Revision: 23013 --- diff --git a/utils/bandwidthd/Makefile b/utils/bandwidthd/Makefile index 415284acf5..3121c68d07 100644 --- a/utils/bandwidthd/Makefile +++ b/utils/bandwidthd/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2009 OpenWrt.org +# Copyright (C) 2006-2010 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:=bandwidthd PKG_VERSION:=2.0.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz PKG_SOURCE_URL:=@SF/bandwidthd @@ -50,6 +50,7 @@ define Package/bandwidthd/install $(INSTALL_BIN) ./files/bandwidthd.init $(1)/etc/init.d/bandwidthd $(INSTALL_DIR) $(1)/www $(INSTALL_DATA) $(PKG_BUILD_DIR)/htdocs/legend.gif $(1)/www/ + $(INSTALL_DATA) $(PKG_BUILD_DIR)/htdocs/logo.gif $(1)/www/ endef $(eval $(call BuildPackage,bandwidthd)) diff --git a/utils/bandwidthd/files/bandwidthd.init b/utils/bandwidthd/files/bandwidthd.init index 2d53ac3c68..3b3819ddd4 100644 --- a/utils/bandwidthd/files/bandwidthd.init +++ b/utils/bandwidthd/files/bandwidthd.init @@ -52,7 +52,7 @@ export_string() { start() { local subnet conffile - [ -d /tmp/bandwidthd ] || mkdir -p /tmp/bandwidthd && cp /www/legend.gif /tmp/bandwidthd/ + [ -d /tmp/bandwidthd ] || mkdir -p /tmp/bandwidthd && cp /www/legend.gif /www/logo.gif /tmp/bandwidthd/ [ -e /htdocs ] || ln -s /tmp/bandwidthd /htdocs [ -e /www/bandwidthd ] || ln -s /tmp/bandwidthd /www/bandwidthd rm -f /tmp/bandwidthd.conf diff --git a/utils/bandwidthd/files/logo.gif b/utils/bandwidthd/files/logo.gif new file mode 100644 index 0000000000..7b17cc6cbc Binary files /dev/null and b/utils/bandwidthd/files/logo.gif differ