git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
2e416a2
)
muninlite: fix uptime should report days patch
author
Jonathan McCrohan
<redacted>
Thu, 12 Feb 2015 00:24:13 +0000
(
00:24
+0000)
committer
Jonathan McCrohan
<redacted>
Thu, 12 Feb 2015 00:24:13 +0000
(
00:24
+0000)
1295d87
failed to remove cdef config which will break graphs for
existing users.
Properly closes #810
Signed-off-by: Jonathan McCrohan <redacted>
admin/muninlite/patches/110-fix-uptime-days.patch
patch
|
blob
|
history
diff --git
a/admin/muninlite/patches/110-fix-uptime-days.patch
b/admin/muninlite/patches/110-fix-uptime-days.patch
index 17ef208ae50e70b37e42d7d5f19daf9440eec874..d9aa43f4a549fd389a9b8003700cb593e44451ab 100644
(file)
--- a/
admin/muninlite/patches/110-fix-uptime-days.patch
+++ b/
admin/muninlite/patches/110-fix-uptime-days.patch
@@
-1,7
+1,10
@@
--- a/plugins/uptime
+++ b/plugins/uptime
-@@ -7,5 +7,5 @@
- echo "uptime.cdef uptime,86400,/"
+@@ -4,8 +4,7 @@ config_uptime() {
+ echo "graph_vlabel uptime in days"
+ echo "uptime.label uptime"
+ echo "uptime.draw AREA"
+- echo "uptime.cdef uptime,86400,/"
}
fetch_uptime() {
- echo "uptime.value" $(cut -d\ -f1 /proc/uptime)
git clone https://git.99rst.org/PROJECT