diff --git a/html/config/LocationCali.php b/html/config/LocationCali.php
index 5ee1596..40f4a53 100644
--- a/html/config/LocationCali.php
+++ b/html/config/LocationCali.php
@@ -9,6 +9,7 @@ ob_end_clean();//清空(擦除)缓冲区并关闭输出缓冲
ob_implicit_flush(1);//将打开或关闭绝对(隐式)刷送。绝对(隐式)刷送将导致在每次输出调用后有一次刷送操作,以便不再需要对 flush() 的显式调用
system("sudo gpio mode 1 out");
system("sudo gpio write 1 1");
+system("sudo pkill TowerOptoSifAndSpectral");
system("sudo pkill shutter_calibrate");
diff --git a/html/config/calibrate.php b/html/config/calibrate.php
index 3b00815..941fea3 100644
--- a/html/config/calibrate.php
+++ b/html/config/calibrate.php
@@ -34,7 +34,7 @@ $numberofFS=0;
-
+system("sudo pkill TowerOptoSifAndSpectral");
system("sudo pkill ocean_optics_calibration_console");
system("sudo gpio write 1 1");
$cmd="";
diff --git a/html/config/location.php b/html/config/location.php
index 82f9875..8536a0f 100644
--- a/html/config/location.php
+++ b/html/config/location.php
@@ -13,6 +13,7 @@ ob_implicit_flush(1);//将打开或关闭绝对(隐式)刷送。绝对(隐
//echo shell_exec("D:\\03MyGit\\linux\\movingliner\\cmake-build-debug-mingw\\movingliner.exe");
//$cmd = 'ping 127.0.0.1';
//sy""
+system("sudo pkill TowerOptoSifAndSpectral");
system("sudo pkill movingliner");
Echo $a;
$cmd = 'sudo /home/pi/bin/movingliner '.$a;
diff --git a/othersoft/install.sh b/othersoft/install.sh
index 52f9fc1..4da70d0 100644
--- a/othersoft/install.sh
+++ b/othersoft/install.sh
@@ -33,6 +33,8 @@ cd ./build
cp TowerOptoSifAndSpectral /home/pi/bin
cd ../
cp ./root/Mywathdog.sh /root
+cp ./root/start.sh /root
+chmod +x /root/start.sh
mkdir /home/data
diff --git a/root/Mywathdog.sh b/root/Mywathdog.sh
index 9cda7e9..e4a269e 100644
--- a/root/Mywathdog.sh
+++ b/root/Mywathdog.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
while true
do
time=`date +%H:%M:%S`
diff --git a/root/start.sh b/root/start.sh
new file mode 100644
index 0000000..b9a4dae
--- /dev/null
+++ b/root/start.sh
@@ -0,0 +1,8 @@
+chmod +x /root/filebrew/filebrowser
+/root/filebrew/filebrowser -d /root/filebrew/filebrowser.db &
+chmod +x /root/frp_0.34.3_linux_arm/frpc
+chmod +x /root/ffwatch.sh
+/root/ffwatch.sh &
+chmod +x /root/Mywathdog.sh
+/root/Mywathdog.sh &
+