diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-07-11 08:56:29 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-11 08:56:29 +0000 |
commit | b38e8d27d1076bf495fcbbc88fb07cb21407a5e6 (patch) | |
tree | d6245bb0e0fab22cd43a9ac079c6d8e837c4698f /packages/initscripts/initscripts-1.0/h3600/devices | |
parent | dda4c88d24ad9eebdc7ecccf4c6a9abee1dbc1e4 (diff) |
Initscripts: add udev guard to all devices scripts
Diffstat (limited to 'packages/initscripts/initscripts-1.0/h3600/devices')
-rwxr-xr-x | packages/initscripts/initscripts-1.0/h3600/devices | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/h3600/devices b/packages/initscripts/initscripts-1.0/h3600/devices index d7b346a655..0e59229225 100755 --- a/packages/initscripts/initscripts-1.0/h3600/devices +++ b/packages/initscripts/initscripts-1.0/h3600/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 |