mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
Fix udev rule required by gpm
Backport: 14.04
This commit is contained in:
parent
81df6151c3
commit
097f9c7e57
@ -22,7 +22,7 @@ let
|
||||
KERNEL=="kqemu", MODE="0666"
|
||||
|
||||
# Needed for gpm.
|
||||
KERNEL=="input/mice", TAG+="systemd"
|
||||
SUBSYSTEM=="input", KERNEL=="mice", TAG+="systemd"
|
||||
'';
|
||||
|
||||
# Perform substitutions in all udev rules files.
|
||||
|
@ -45,6 +45,7 @@ in
|
||||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
requires = [ "dev-input-mice.device" ];
|
||||
after = [ "dev-input-mice.device" ];
|
||||
|
||||
serviceConfig.ExecStart = "@${pkgs.gpm}/sbin/gpm gpm -m /dev/input/mice -t ${cfg.protocol}";
|
||||
serviceConfig.Type = "forking";
|
||||
|
Loading…
Reference in New Issue
Block a user