瀏覽代碼

Merge branch 'main' of http://bc.zycoo.com:3000/speaker/m2_g2_fs

Yu.Ding 9 小時之前
父節點
當前提交
7bfbe10e40
共有 3 個文件被更改,包括 3 次插入6 次删除
  1. 0 5
      etc/scripts/S99input-event-daemon
  2. 3 1
      readyForTarget.sh
  3. 二進制
      www/speaker-cgi

+ 0 - 5
etc/scripts/S99input-event-daemon

@@ -1,7 +1,5 @@
 #! /bin/sh
 
-[ -f /usr/bin/input-event-daemon ] || exit 0
-
 check_oem_exist()
 {
 	if [ -f "/oem/.userdata" ]; then
@@ -35,8 +33,6 @@ check_oem_exist()
 
 start() {
 	printf "Starting input-event-daemon: "
-	input-event-daemon -v
-	echo "done"
 	printf "Check oem: "
 	check_oem_exist
 }
@@ -44,7 +40,6 @@ start() {
 
 stop() {
 	printf "Stopping input-event-daemon: "
-	killall input-event-daemon
 	echo "done"
 }
 

+ 3 - 1
readyForTarget.sh

@@ -18,9 +18,11 @@ if [ $# = 1 ];then
 
     name="u_m2_g2_fs_v_${SOFT_VERSION}_d_${date}.img"
 
+    rm -rf output/${name}
+
     [ ! -d output ] && mkdir output
 
-    tar -zcf output/${name} oem_backup.tar etc oem usr www app && echo "Wirte Sign..." && /bin/rk_generate output/${name} G2-DIA-CDD2 ${SOFT_VERSION} && echo "Wirte Sign complete!"
+    tar -zcf output/${name} oem_backup.tar etc usr www app && echo "Wirte Sign..." && /bin/rk_generate output/${name} G2-DIA-CDD2 ${SOFT_VERSION} && echo "Wirte Sign complete!"
 
     rm -rf oem_backup.tar
 

二進制
www/speaker-cgi