summarylogtreecommitdiffstats
path: root/uinput.initd
blob: 5e3af20a8eebbba9d091992d38be8c371a66531c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/sbin/openrc-run

command="/sbin/modprobe uinput"
command_background="yes"
pidfile="/run/uinput.pid"

depend() {
  need modules
}

start_pre() {
  ebegin "Loading uinput module"
  $command
  eend $?
}

stop_post() {
  ebegin "Unloading uinput module"
  /sbin/rmmod uinput
  eend $?
}