1
0
Fork 0
mirror of synced 2024-12-24 08:53:22 -05:00
garuda-common-settings/usr/lib/systemd/system/garuda-pacman-snapshot-reject.service

9 lines
264 B
Desktop File

[Unit]
Description=Optimizing pacman hooks
[Service]
Type=oneshot
ExecStart=bash -c "grep -qE 'subvol=@\/.snapshots\/[0-9]+\/snapshot' /proc/cmdline || mount --bind /dev/null /usr/share/libalpm/hooks/01-snapshot-reject.hook"
[Install]
WantedBy=multi-user.target