If start_udev fails for any reason, notice and fall through to manual /dev
creation.
Patch from Charles Duffy <charles@dyfis.net>
if [ -x /etc/init.d/udev ]; then
/etc/init.d/udev start
if [ -x /etc/init.d/udev ]; then
/etc/init.d/udev start
-elif [ -x /sbin/start_udev ]; then
- /sbin/start_udev
+elif [ -x /sbin/start_udev ] && /sbin/start_udev; then
+ :
else
echo No udev, creating /dev manually
mount -t tmpfs none /dev
else
echo No udev, creating /dev manually
mount -t tmpfs none /dev