kexec-tools/kdump_runtime_helpers/start_udev
2009-05-20 16:42:31 +00:00

17 lines
265 B
Bash
Executable File

#!/bin/sh
if [ ! -x /bin/udevd ]
then
echo "udev isn't installed in this initramfs!"
exit 0
fi
# Sart the daemon
udevd --daemon
# Trigger coldplug events
udevadm trigger >/dev/null 2>&1
#Wait for events to complete
udevadm settle --timeout=30 >/dev/null 2>&1