Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
9225c940
Commit
9225c940
authored
May 31, 2021
by
longpanda
Browse files
optimization for cdlinux
parent
a8edb99d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
IMG/cpio/ventoy/hook/cdlinux/ventoy-hook.sh
IMG/cpio/ventoy/hook/cdlinux/ventoy-hook.sh
+4
-0
No files found.
IMG/cpio/ventoy/hook/cdlinux/ventoy-hook.sh
View file @
9225c940
...
@@ -36,6 +36,10 @@ done
...
@@ -36,6 +36,10 @@ done
$BUSYBOX_PATH
/umount /vtmnt
&&
$BUSYBOX_PATH
/rm
-rf
/vtmnt
$BUSYBOX_PATH
/umount /vtmnt
&&
$BUSYBOX_PATH
/rm
-rf
/vtmnt
$BUSYBOX_PATH
/cp
-a
/ventoy /ventoy_rdroot
$BUSYBOX_PATH
/cp
-a
/ventoy /ventoy_rdroot
if
[
-f
/etc/default/cdlinux
]
;
then
echo
"CDL_WAIT=60"
>>
/etc/default/cdlinux
fi
echo
'echo "CDL_DEV=/dev/mapper/ventoy" >>"$VAR_FILE"'
>>
/ventoy_rdroot/etc/rc.d/rc.var
echo
'echo "CDL_DEV=/dev/mapper/ventoy" >>"$VAR_FILE"'
>>
/ventoy_rdroot/etc/rc.d/rc.var
ventoy_set_rule_dir_prefix /ventoy_rdroot
ventoy_set_rule_dir_prefix /ventoy_rdroot
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment