aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2010-12-10 18:01:42 +0100
committerChristian Weiske <cweiske@cweiske.de>2010-12-10 18:01:42 +0100
commit634ed3ee088747d4d53ff739d4df5883cdeb59e7 (patch)
treef4c96bbf32400698bd51cc38bcad463eecaf809a /scripts
parentcfe00d3ccd79c2b1c7f8a09853d027dabff3c302 (diff)
downloadlinksys-wrt3g-tools-634ed3ee088747d4d53ff739d4df5883cdeb59e7.tar.gz
linksys-wrt3g-tools-634ed3ee088747d4d53ff739d4df5883cdeb59e7.zip
make scripts work again (config path)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/munin.php2
-rw-r--r--scripts/reboot.php2
-rw-r--r--scripts/status.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/munin.php b/scripts/munin.php
index 2b7a9e9..184f889 100755
--- a/scripts/munin.php
+++ b/scripts/munin.php
@@ -11,7 +11,7 @@
* @license AGPL v3
* @link http://cweiske.de/linksys-wrt3g-tools.htm
*/
-require_once dirname(__FILE__) . '/config.php';
+require_once dirname(__FILE__) . '/../config.php';
require_once 'Wrt3g.php';
if (isset($argv[1]) && $argv[1] == 'autoconf') {
diff --git a/scripts/reboot.php b/scripts/reboot.php
index cdc3710..53b8b96 100644
--- a/scripts/reboot.php
+++ b/scripts/reboot.php
@@ -10,7 +10,7 @@
* @license AGPL v3
* @link http://cweiske.de/linksys-wrt3g-tools.htm
*/
-require_once dirname(__FILE__) . '/config.php';
+require_once dirname(__FILE__) . '/../config.php';
require_once 'Wrt3g.php';
try {
diff --git a/scripts/status.php b/scripts/status.php
index 9f94371..b75a508 100644
--- a/scripts/status.php
+++ b/scripts/status.php
@@ -10,7 +10,7 @@
* @license AGPL v3
* @link http://cweiske.de/linksys-wrt3g-tools.htm
*/
-require_once dirname(__FILE__) . '/config.php';
+require_once dirname(__FILE__) . '/../config.php';
require_once 'Wrt3g.php';
try {
$w = new Wrt3g();