mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-25 23:07:17 +00:00
update init file name
This commit is contained in:
parent
beb58dfd55
commit
72b5e2e399
@ -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 '
|
Loading…
Reference in New Issue
Block a user