示例#1
0
<?php

include_once 'api/essentials.php';
include_once 'dismiss.php';
dismiss();
示例#2
0
function lightoff()
{
    $kill_command = exec("sudo kill \$(pgrep timer); sudo killall -v timer; sudo pkill timer; sudo kill `ps -f | grep timer | grep -v grep | awk '{print \$2}'`");
    runInBackground("sudo /var/www/html/shscript/lightoff");
    dismiss();
}