mirror of
https://github.com/ventoy/Ventoy.git
synced 2026-11-30 17:36:19 +01:00
23 lines
724 B
Bash
23 lines
724 B
Bash
#!/bin/sh
|
|||
|
|
|
||
|
|
rm -f /etc/systemd/system-preset/80-ventoy-udev.preset
|
||
|
|
rm -f /etc/systemd/system/sysinit.target.wants/ventoy-udev*.service
|
||
|
|
rm -f /etc/systemd/system/ventoy-udev*.service
|
||
|
|
|
||
|
|
if [ -f /etc/systemd/system/snap.ubuntu-desktop-bootstrap.subiquity-server.service.d/10-ventoy-curtin-wa.conf ]; then
|
||
|
|
if [ -e /etc/systemd/system/snap.ubuntu-desktop-bootstrap.subiquity-server.service ]; then
|
||
|
|
:
|
||
|
|
else
|
||
|
|
rm -f /etc/systemd/system/ventoy-curtin-wa.service
|
||
|
|
rm -f /etc/systemd/system/snap.ubuntu-desktop-bootstrap.subiquity-server.service.d/10-ventoy-curtin-wa.conf
|
||
|
|
rm -rf /etc/ventoy_curtin
|
||
|
|
fi
|
||
|
|
fi
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
mkdir -p /run/udev/rules.d
|
||
|
|
mv /etc/udev/rules.d/*ventoy* /run/udev/rules.d/
|
||
|
|
|
||
|
|
rm -f $0
|