mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-22 05:27:24 +00:00
rename files
This commit is contained in:
parent
3607037f50
commit
da8b3af8a2
@ -103,9 +103,9 @@ mkdir /opt/wz_mini/tmp/.storage
|
||||
echo "copy stock rcS"
|
||||
cp /etc/init.d/rcS /opt/wz_mini/tmp/.storage/rcS
|
||||
|
||||
echo "add v3_post inject to stock 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/v3_post.sh\n' /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 '/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
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
### This file is called by /etc/init.d/rcS, and is run before app_init.sh
|
||||
|
||||
exec 1> /opt/wz_mini/log/v3_post.log 2>&1
|
||||
exec 1> /opt/wz_mini/log/vz_post.log 2>&1
|
||||
|
||||
set -x
|
||||
|
||||
@ -15,7 +15,7 @@ export WZMINI_CFG=/opt/wz_mini/wz_mini.conf
|
||||
|
||||
[ -f $WZMINI_CFG ] && source $WZMINI_CFG
|
||||
|
||||
echo "welcome to v3_post.sh"
|
||||
echo "welcome to wz_post.sh"
|
||||
echo "PID $$"
|
||||
|
||||
if [ -d /lib/modules ]; then
|
@ -14,7 +14,7 @@ reboot
|
||||
|
||||
|
||||
upgrade_mode_start() {
|
||||
exec 1>> /opt/v3_upgrade.log 2>&1
|
||||
exec 1>> /opt/wz_upgrade.log 2>&1
|
||||
set -x
|
||||
echo UPGRADE MODE
|
||||
umount /opt/wz_mini/tmp
|
||||
|
Loading…
Reference in New Issue
Block a user