1 2 3 4 5 6 7 8 9 10 11 12 13
post_install() { modprobe uinput udevadm control --reload-rules udevadm trigger echo "start service after install: systemctl --user enable --now xr-driver.service" } post_upgrade() { udevadm control --reload-rules udevadm trigger }