Przeglądaj źródła

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

Yu.Ding 9 godzin temu
rodzic
commit
7bfbe10e40
3 zmienionych plików z 3 dodań i 6 usunięć
  1. 0 5
      etc/scripts/S99input-event-daemon
  2. 3 1
      readyForTarget.sh
  3. BIN
      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
 

BIN
www/speaker-cgi