sushichao 1 dzień temu
rodzic
commit
ca7bb45dd3
4 zmienionych plików z 3 dodań i 3 usunięć
  1. 1 1
      etc/scripts/onvif_upgrade.sh
  2. 1 1
      etc/scripts/upgrade.sh
  3. 1 1
      readyForTarget.sh
  4. 0 0
      usr/bin/rk_parser

+ 1 - 1
etc/scripts/onvif_upgrade.sh

@@ -46,7 +46,7 @@ case "${action}" in
 
 		model="`/etc/scripts/getmodel.sh`"
 		[ -z ${model} ] && exit 1
-		/bin/rk_parser ${IMGPATH} ${model}
+		/usr/bin/rk_parser ${IMGPATH} ${model}
 		recode_check="$?"
 		if [ "foo${recode_check}" != "foo0" ];then
 			echo -n "VerifyFailed" > ${STATUSPATH}

+ 1 - 1
etc/scripts/upgrade.sh

@@ -24,7 +24,7 @@ END
         [ ! -f ${para} ] && exit 1
         model="`/etc/scripts/getmodel.sh`"
         [ -z ${model} ] && exit 1
-        /bin/rk_parser ${para} ${model}
+        /usr/bin/rk_parser ${para} ${model}
         recode_check="$?"
         if [ "foo${recode_check}" != "foo0" ];then
             rm -rf ${para}

+ 1 - 1
readyForTarget.sh

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

bin/rk_parser → usr/bin/rk_parser