mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-12-29 00:23:24 -05:00
13 lines
193 B
Bash
13 lines
193 B
Bash
#!/bin/bash
|
|
|
|
UPATH=/usr/bin
|
|
DM=dm-0
|
|
|
|
rm -f $UPATH/udevadm
|
|
mv $UPATH/udevadm_bk $UPATH/udevadm
|
|
|
|
echo 1 > /tmp/vthidden
|
|
mount --bind /tmp/vthidden /sys/block/$DM/hidden
|
|
|
|
exec $UPATH/udevadm "$@"
|