重新设置代码格式
This commit is contained in:
@@ -4,7 +4,6 @@ export u_path="/media/udisk0"
|
||||
export exe_name="Radarcape_Local_Server_aarch64-buildroot-linux-gnu-gxx_Linux_Debug"
|
||||
export guard_exe_name="/bin/sh /etc/init.d/S90E-CAP start"
|
||||
|
||||
|
||||
echo "pkill !"
|
||||
pkill -f "${guard_exe_name}"
|
||||
pkill -f "${exe_name}"
|
||||
@@ -22,8 +21,6 @@ echo "update wwwroot!"
|
||||
rm -rf /root/wwwroot
|
||||
cp -rp "$u_path"/wwwroot /root
|
||||
|
||||
|
||||
|
||||
while pgrep -f "${guard_exe_name}" >/dev/null; do
|
||||
echo "${guard_exe_name} Process is still running wait one second!"
|
||||
sleep 1
|
||||
@@ -33,7 +30,6 @@ while pgrep -f "${exe_name}" >/dev/null; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
|
||||
echo "update ${exe_name}!"
|
||||
cp -r "$u_path/${exe_name}" /root
|
||||
|
||||
|
||||
Reference in New Issue
Block a user