diff --git a/Cargo.toml b/Cargo.toml index 9d5eabf0..d306ffa2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,6 @@ assets = [ { source = "target/release/inputplumber", dest = "/usr/bin/inputplumber", mode = "755" }, { source = "rootfs/usr/share/dbus-1/system.d/org.shadowblip.InputPlumber.conf", dest = "/usr/share/dbus-1/system.d/org.shadowblip.InputPlumber.conf", mode = "644" }, { source = "rootfs/usr/lib/systemd/system/inputplumber.service", dest = "/usr/lib/systemd/system/inputplumber.service", mode = "644" }, - { source = "rootfs/usr/lib/systemd/system/inputplumber-resume.service", dest = "/usr/lib/systemd/system/inputplumber-resume.service", mode = "644" }, { source = "rootfs/usr/share/inputplumber/devices/*.yaml", dest = "/usr/share/inputplumber/devices/", mode = "644" }, { source = "rootfs/usr/share/inputplumber/schema/*.json", dest = "/usr/share/inputplumber/schema/", mode = "644" }, { source = "rootfs/usr/share/inputplumber/capability_maps/*.yaml", dest = "/usr/share/inputplumber/capability_maps/", mode = "644" }, diff --git a/Makefile b/Makefile index efc3da95..2058034c 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,6 @@ uninstall: ## Uninstall inputplumber rm $(PREFIX)/bin/$(NAME) rm $(PREFIX)/share/dbus-1/system.d/$(DBUS_NAME).conf rm $(PREFIX)/lib/systemd/system/$(NAME).service - rm $(PREFIX)/lib/systemd/system/$(NAME)-resume.service rm $(PREFIX)/lib/udev/hwdb.d/59-inputplumber.hwdb rm -rf $(PREFIX)/share/$(NAME)/devices/ rm -rf $(PREFIX)/share/$(NAME)/schema/ diff --git a/pkg/rpm/inputplumber.spec b/pkg/rpm/inputplumber.spec index 58fbd2d8..24571f96 100644 --- a/pkg/rpm/inputplumber.spec +++ b/pkg/rpm/inputplumber.spec @@ -61,7 +61,6 @@ systemctl disable inputplumber.servce /usr/bin/inputplumber /usr/share/dbus-1/system.d/org.shadowblip.InputPlumber.conf /usr/lib/systemd/system/inputplumber.service -/usr/lib/systemd/system/inputplumber-resume.service /usr/lib/udev/hwdb.d/59-inputplumber.hwdb /usr/share/inputplumber/capability_maps/ally_type1.yaml /usr/share/inputplumber/capability_maps/anbernic_type1.yaml diff --git a/rootfs/usr/lib/systemd/system/inputplumber-resume.service b/rootfs/usr/lib/systemd/system/inputplumber-resume.service deleted file mode 100644 index 2eb46532..00000000 --- a/rootfs/usr/lib/systemd/system/inputplumber-resume.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Restart InputPlumber after resume -After=suspend.target - -[Service] -Type=simple -ExecStart=/usr/bin/systemctl --no-block restart inputplumber.service - -[Install] -WantedBy=suspend.target