git.cweiske.de
/
linksys-wrt3g-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb9f52
)
fix munin.php
author
Christian Weiske
<cweiske@cweiske.de>
Wed, 8 Dec 2010 19:13:53 +0000
(20:13 +0100)
committer
Christian Weiske
<cweiske@cweiske.de>
Wed, 8 Dec 2010 19:13:53 +0000
(20:13 +0100)
munin.php
patch
|
blob
|
history
diff --git
a/munin.php
b/munin.php
index 9b94cc334a0295f32428a867d62e96a693ed964e..2b7a9e93f81c2076378efd43c35d9e440e1b4a8a 100755
(executable)
--- a/
munin.php
+++ b/
munin.php
@@
-48,8
+48,10
@@
TXT;
}
-$arStatus = wrt3g_getStatus();
try {
+ $w = new Wrt3g();
+ $arStatus = $w->getStatus();
+
$conn = $arStatus['connection'];
if ($conn == 'disconnected') {
echo "conn_disconnected.value 1\n";