git.cweiske.de
/
linksys-wrt3g-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix munin.php
[linksys-wrt3g-tools.git]
/
munin.php
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";