1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/usr/bin/openrc-run description="smdev Coldplug all Devices" depend() { need sysfs dev-mount before checkfs fsck nldev provide dev-settle dev } start() { ebegin "Waiting for uevents to be processed" smdev -s eend $? }