vp-build/templates/udev/files/udev.rc
Juan RP 4e869cddf8 udev: switch to OpenRC; bump revision.
--HG--
extra : convert_revision : 5fdfb64e584411c294ecadb2dc90286056313905
2009-05-04 21:44:24 +02:00

26 lines
366 B
Plaintext

#!/sbin/runscript
#
# OpenRC service for udev(7).
command=/sbin/udevd
command_args="--daemon"
name="UDev Daemon"
depend()
{
provide dev
need sysfs
before checkfs fsck
keyword novserver
}
start()
{
echo > /proc/sys/kernel/hotplug
ebegin "Starting UDev and waiting for uevents"
${command} ${command_args} && \
udevadm trigger && udevadm settle
eend $?
}