update init file name

This commit is contained in:
Alfonso Gamboa 2022-06-15 00:36:41 -07:00
parent beb58dfd55
commit 72b5e2e399

View File

@ -4,7 +4,7 @@
### ###
###This file is run by switch_root, from the initramfs in the kernel. ###This file is run by switch_root, from the initramfs in the kernel.
LOG_NAME=/opt/wz_mini/log/v3_init LOG_NAME=/opt/wz_mini/log/wz_init
if [[ -e $LOG_NAME.log || -L $LOG_NAME.log ]] ; then if [[ -e $LOG_NAME.log || -L $LOG_NAME.log ]] ; then
i=0 i=0
while [[ -e $LOG_NAME.log.$i || -L $LOG_NAME.log.$i ]] ; do while [[ -e $LOG_NAME.log.$i || -L $LOG_NAME.log.$i ]] ; do
@ -20,7 +20,7 @@ export WZMINI_CFG=/opt/wz_mini/wz_mini.conf
[ -f $WZMINI_CFG ] && source $WZMINI_CFG [ -f $WZMINI_CFG ] && source $WZMINI_CFG
echo "welcome to v3_init.sh" echo "welcome to wz_init.sh"
echo "PID $$" echo "PID $$"
echo ' echo '