2009-02-19 15:10:13 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
# initramfs premount script for udev
|
|
|
|
|
|
|
|
PREREQ=""
|
|
|
|
|
|
|
|
# Output pre-requisites
|
|
|
|
prereqs()
|
|
|
|
{
|
|
|
|
echo "$PREREQ"
|
|
|
|
}
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
prereqs)
|
|
|
|
prereqs
|
|
|
|
exit 0
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
# Start the udev daemon to process events
|
2010-04-23 09:58:14 +00:00
|
|
|
udevd --daemon --resolve-names=never
|
2009-02-19 15:10:13 +00:00
|
|
|
|
|
|
|
# Iterate sysfs and fire off everything; if we include a rule for it then
|
|
|
|
# it'll get handled; otherwise it'll get handled later when we do this again
|
|
|
|
# in the main boot sequence.
|
2011-05-29 10:00:06 +00:00
|
|
|
udevadm trigger --action=add --type=subsystems
|
|
|
|
udevadm trigger --action=add --type=devices
|
|
|
|
udevadm settle
|