Kaynağa Gözat

升级需关闭看门狗

liyi 1 yıl önce
ebeveyn
işleme
fc6c99946b
1 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  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
     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()
 {