summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/uml/devices
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initscripts/initscripts-1.0/uml/devices')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/uml/devices5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/uml/devices b/packages/initscripts/initscripts-1.0/uml/devices
index fc1d96788b..d6459c1633 100755
--- a/packages/initscripts/initscripts-1.0/uml/devices
+++ b/packages/initscripts/initscripts-1.0/uml/devices
@@ -5,6 +5,11 @@
. /etc/default/rcS
+# exit without doing anything if udev is active
+if test -e /dev/.udevdb; then
+ exit 0
+fi
+
if test -e /dev/.devfsd
then
if test "$VERBOSE" != "no"; then echo -n "Setting up device links for devfs: "; fi