diff options
Diffstat (limited to 'www/commission/index.php')
-rw-r--r-- | www/commission/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/commission/index.php b/www/commission/index.php index 00546ab..3e87e7a 100644 --- a/www/commission/index.php +++ b/www/commission/index.php @@ -156,7 +156,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ $password_err = $result2; $username_err = $result; // Disable commissioning - $cmd = "echo 'ENABLED=\"no\"' >/var/config/default/commissioning 2>&1"; + $cmd = "echo 'ENABLED=\"no\"' >/run/mt-commission 2>&1"; $handle = popen($cmd, 'r'); $result = trim(fread($handle, 4192)); $status = pclose($handle); @@ -166,7 +166,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ } else { // shut off web server $cmd = "/usr/sbin/start-stop-daemon -S -p /var/run/commissionoff.pid -b -a /bin/bash -- -c " . - "/usr/libexec/commissioning/off.sh"; + "/usr/libexec/commission/off.sh"; syslog(LOG_ALERT, "turn off web server: command: $cmd"); $handle = popen($cmd, 'r'); $result = trim(fread($handle, 4192)); |