mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 11:49:42 +08:00
config
This commit is contained in:
7
html/php/reboot.php
Normal file
7
html/php/reboot.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
ignore_user_abort(true);
|
||||
set_time_limit(0);
|
||||
echo system("sudo killall TowerOptoSifAndSpectral");
|
||||
echo system("sudo ./reboot.sh &");
|
||||
echo "系统已重启";
|
||||
//var_dump($output);
|
Reference in New Issue
Block a user