summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/simpad/devices
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initscripts/initscripts-1.0/simpad/devices')
-rw-r--r--packages/initscripts/initscripts-1.0/simpad/devices5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/simpad/devices b/packages/initscripts/initscripts-1.0/simpad/devices
index d7b346a655..0e59229225 100644
--- a/packages/initscripts/initscripts-1.0/simpad/devices
+++ b/packages/initscripts/initscripts-1.0/simpad/devices
@@ -3,6 +3,11 @@
# Devfs handling script. Since we arent running devfsd due to various reasons
# which I will not lay out here, we need to create some links for compatibility.
+# exit without doing anything if udev is active
+if test -e /dev/.udevdb; then
+ exit 0
+fi
+
test -n "$VERBOSE" && echo -n "Setting up device links for devfs: "
(
ln -s /dev/vc/0 /dev/tty0