summaryrefslogtreecommitdiff
path: root/openwrt/package/rrdcollect
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/rrdcollect')
-rw-r--r--openwrt/package/rrdcollect/Makefile2
-rw-r--r--openwrt/package/rrdcollect/files/rrdcollect.conf12
2 files changed, 7 insertions, 7 deletions
diff --git a/openwrt/package/rrdcollect/Makefile b/openwrt/package/rrdcollect/Makefile
index cc2e19a..9f105db 100644
--- a/openwrt/package/rrdcollect/Makefile
+++ b/openwrt/package/rrdcollect/Makefile
@@ -72,7 +72,7 @@ $(PKG_BUILD_DIR)/.built:
$(IPKG_RRDCOLLECT):
install -d -m0755 $(IDIR_RRDCOLLECT)/usr/sbin
- cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/rrdcollect $(IDIR_RRDCOLLECT)/usr/sbin/
+ $(CP) $(PKG_INSTALL_DIR)/usr/sbin/rrdcollect $(IDIR_RRDCOLLECT)/usr/sbin/
$(RSTRIP) $(IDIR_RRDCOLLECT)
$(IPKG_BUILD) $(IDIR_RRDCOLLECT) $(PACKAGE_DIR)
diff --git a/openwrt/package/rrdcollect/files/rrdcollect.conf b/openwrt/package/rrdcollect/files/rrdcollect.conf
index e34c9bf..1b37454 100644
--- a/openwrt/package/rrdcollect/files/rrdcollect.conf
+++ b/openwrt/package/rrdcollect/files/rrdcollect.conf
@@ -19,15 +19,15 @@ exec:///bin/df
# LAN: vlan0, WAN: vlan1, WIFI: eth1
file:///proc/net/dev
-" vlan0:%d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:Labi,Lapi,Labo,Lapo
-" vlan1:%d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:Wabi,Wapi,Wabo,Wapo
-" eth1:%d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:Wibi,Wipi,Wibo,Wipo
-#" tun0:%d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:tbi,tpi,tbo,tpo
+"vlan0: %d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:Labi,Lapi,Labo,Lapo
+"vlan1: %d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:Wabi,Wapi,Wabo,Wapo
+"eth1: %d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:Wibi,Wipi,Wibo,Wipo
+#"tun0: %d %d %*d %*d %*d %*d %*d %*d %d %d" IF.rrd:tbi,tpi,tbo,tpo
file:///proc/slabinfo
"ip_conntrack %d %*d %*d %*d %*d %*d" SYS.rrd:con
"arp_cache %d %*d %*d %*d %*d %*d" SYS.rrd:arp
file:///proc/interrupts
-" 4: %d MIPS eth1" SYS.rrd:irw
-" 5: %d MIPS eth0" SYS.rrd:ire
+"4: %d MIPS eth1" SYS.rrd:irw
+"5: %d MIPS eth0" SYS.rrd:ire