summarylogtreecommitdiffstats
path: root/nltrigger.initd
blob: 75f49aa7e28d6f48fa0f0441e7c6e084338f4ea7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/openrc-run

description="triggerring device uevents"

depend()
{
	need nldev
	provide dev-settle
}

start()
{
	ebegin "Triggering device uevents"
	nltrigger /sys add 0
	sleep 1s
	eend $?
}