Quellcode durchsuchen

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 vor 3 Jahren
Ursprung
Commit
5db0faf000
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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