1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

sysutils/keyd: add resume support after S3 suspend

keyd breaks after S3 suspend/resume because USB devices aren't ready
  on restart. Add resume keyword and a delayed restart to the rc script.

  PR:           270603
  Approved by:  chalpin@cs.wisc.edu (maintainer timeout)
This commit is contained in:
Torsten Zuehlsdorff
2026-03-24 17:58:10 +01:00
parent c01a34dcad
commit 7d99b7a676
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
PORTNAME= keyd
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.0
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= chalpin@cs.wisc.edu
+3 -1
View File
@@ -2,7 +2,7 @@
# PROVIDE: keyd
# REQUIRE: DAEMON
# KEYWORD: shutdown
# KEYWORD: resume shutdown
#
# Add the following lines to /etc/rc.conf to enable this service:
#
@@ -13,6 +13,8 @@
name="keyd"
rcvar="${name}_enable"
resume_cmd="sleep 3; run_rc_command restart"
extra_commands="resume"
load_rc_config "$name"