update for new release

This commit is contained in:
longpanda
2020-08-29 13:12:36 +08:00
parent 1bf3e73373
commit 8dce0adda6
110 changed files with 2610 additions and 103 deletions

View File

@@ -22,3 +22,12 @@
ventoy_systemd_udevd_work_around
ventoy_add_udev_rule "$VTOY_PATH/hook/default/udev_disk_hook.sh %k"
if [ -f /init ]; then
vtSize=$($BUSYBOX_PATH/stat -c '%s' /init)
if ! [ -L /init ]; then
if [ $vtSize -eq 0 ]; then
rm -f /init
fi
fi
fi