浏览代码

升级需关闭看门狗

liyi 1 年之前
父节点
当前提交
fc6c99946b
共有 1 个文件被更改,包括 4 次插入 和 0 次删除
  1. 4 0
      output/t113s/push/tools/script.sh

+ 4 - 0
output/t113s/push/tools/script.sh

@@ -12,6 +12,10 @@ function kill_all()
 {
 {
     kill_proc smartMonitor.sh
     kill_proc smartMonitor.sh
     killall  RestartApp.sh smartMornitor.sh smartMonitor.sh snmpd  Qt_Test  smartPDU
     killall  RestartApp.sh smartMornitor.sh smartMonitor.sh snmpd  Qt_Test  smartPDU
+    sleep 1
+    echo V > /dev/watchdog
+    sleep 1
+    echo V > /dev/watchdog
 }
 }
 function rm_old()
 function rm_old()
 {
 {