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
1b5aa9c6
Commit
1b5aa9c6
authored
Oct 19, 2021
by
longpanda
Browse files
Fix the long delay for Tails
parent
d6eba15d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
IMG/cpio/ventoy/hook/debian/tails-hook.sh
IMG/cpio/ventoy/hook/debian/tails-hook.sh
+5
-0
No files found.
IMG/cpio/ventoy/hook/debian/tails-hook.sh
View file @
1b5aa9c6
...
@@ -23,6 +23,11 @@ $SED "s#.*livefs_root=.*find_livefs.*#$BUSYBOX_PATH/mount -t iso9660 /dev/mapper
...
@@ -23,6 +23,11 @@ $SED "s#.*livefs_root=.*find_livefs.*#$BUSYBOX_PATH/mount -t iso9660 /dev/mapper
if
[
-e
/init
]
&&
$GREP
-q
'^mountroot$'
/init
;
then
if
[
-e
/init
]
&&
$GREP
-q
'^mountroot$'
/init
;
then
echo
"Here before mountroot ..."
>>
$VTLOG
echo
"Here before mountroot ..."
>>
$VTLOG
$SED
"/^mountroot
$/
i
\\
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/debian/disk_mount_hook.sh"
-i
/init
$SED
"/^mountroot
$/
i
\\
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/debian/disk_mount_hook.sh"
-i
/init
if
[
-f
/scripts/init-premount/partitioning
]
;
then
$SED
"1aexit 0"
-i
/scripts/init-premount/partitioning
fi
else
else
echo
"Use default hook ..."
>>
$VTLOG
echo
"Use default hook ..."
>>
$VTLOG
ventoy_systemd_udevd_work_around
ventoy_systemd_udevd_work_around
...
...
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