Skip to content

Commit 3751a47

Browse files
author
longpanda
committed
Add log for live injection process.
1 parent 6dd3ed3 commit 3751a47

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

IMG/cpio/ventoy/ventoy_chain.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,11 @@ fi
440440
# #
441441
####################################################################
442442
if [ -f "/live_injection_7ed136ec_7a61_4b54_adc3_ae494d5106ea/hook.sh" ]; then
443-
$BUSYBOX_PATH/sh "/live_injection_7ed136ec_7a61_4b54_adc3_ae494d5106ea/hook.sh" $VTOS
443+
echo "==== Begin Call live injection hook.sh $VTOS" >> $VTLOG
444+
$BUSYBOX_PATH/sh "/live_injection_7ed136ec_7a61_4b54_adc3_ae494d5106ea/hook.sh" $VTOS >>$VTLOG 2>&1
445+
echo "==== Finish Call live injection hook.sh $VTOS" >> $VTLOG
446+
else
447+
echo "No live injection" >> $VTLOG
444448
fi
445449

446450

0 commit comments

Comments
 (0)