ubuntu: Use direct udevd method to start udev on Ubuntu.
[libguestfs.git] / appliance / init
index 9ecf007..c622788 100755 (executable)
@@ -10,7 +10,7 @@ mkdir -p /sysroot
 mount -t proc /proc /proc
 mount -t sysfs /sys /sys
 
-if [ -x /etc/init.d/udev ]; then
+if [ ! -L /etc/init.d/udev -a -x /etc/init.d/udev ]; then
   if type service >/dev/null 2>&1; then
      service udev start
   else