소스 검색

change wz_post.sh execution order

Change the order in which wz_post.sh runs, before we used to execute right before mounting /configs, now we execute after /configs and /params, but before app_init.sh
Alfonso Gamboa 3 년 전
부모
커밋
5db0faf000
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      SD_ROOT/wz_mini/etc/init.d/wz_init.sh

+ 1 - 1
SD_ROOT/wz_mini/etc/init.d/wz_init.sh

@@ -122,7 +122,7 @@ cp /etc/init.d/rcS /opt/wz_mini/tmp/.storage/rcS
 
 echo "add wz_post inject to stock rcS"
 sed -i '/^".*/aset -x' /opt/wz_mini/tmp/.storage/rcS
-sed -i '/^# Mount configs.*/i/opt/wz_mini/etc/init.d/wz_post.sh\n' /opt/wz_mini/tmp/.storage/rcS
+sed -i '/^# Run init script.*/i/opt/wz_mini/etc/init.d/wz_post.sh\n' /opt/wz_mini/tmp/.storage/rcS
 
 sed -i '/sbin:/s/$/:\/opt\/wz_mini\/bin/' /opt/wz_mini/tmp/.storage/rcS
 sed -i '/system\/\lib/s/$/:\/opt\/wz_mini\/lib/' /opt/wz_mini/tmp/.storage/rcS