summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/c7x0/devices
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initscripts/initscripts-1.0/c7x0/devices')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/c7x0/devices5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/c7x0/devices b/packages/initscripts/initscripts-1.0/c7x0/devices
index b3a3323b8a..083090ecb9 100755
--- a/packages/initscripts/initscripts-1.0/c7x0/devices
+++ b/packages/initscripts/initscripts-1.0/c7x0/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