summaryrefslogtreecommitdiff
blob: f6e07075c74d4894aa937cc9cc1b25ebffb568d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/openrc-run
# Copyright 2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

depend() {
	need udev
	after udev-trigger
	provide dev-settle
	keyword -lxc -systemd-nspawn -vserver
}

start() {
	ebegin "Waiting for uevents to be processed"
	udevadm settle \
		${udev_settle_timeout:+--timeout=}"${udev_settle_timeout}"
	eend $?
}