summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts-1.0/jornada56x/devices
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-11 08:56:29 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-11 08:56:29 +0000
commitb38e8d27d1076bf495fcbbc88fb07cb21407a5e6 (patch)
treed6245bb0e0fab22cd43a9ac079c6d8e837c4698f /packages/initscripts/initscripts-1.0/jornada56x/devices
parentdda4c88d24ad9eebdc7ecccf4c6a9abee1dbc1e4 (diff)
Initscripts: add udev guard to all devices scripts
Diffstat (limited to 'packages/initscripts/initscripts-1.0/jornada56x/devices')
-rwxr-xr-xpackages/initscripts/initscripts-1.0/jornada56x/devices5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/jornada56x/devices b/packages/initscripts/initscripts-1.0/jornada56x/devices
index d7b346a655..0e59229225 100755
--- a/packages/initscripts/initscripts-1.0/jornada56x/devices
+++ b/packages/initscripts/initscripts-1.0/jornada56x/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