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/tosa | |
parent | dda4c88d24ad9eebdc7ecccf4c6a9abee1dbc1e4 (diff) |
Initscripts: add udev guard to all devices scripts
Diffstat (limited to 'packages/initscripts/initscripts-1.0/tosa')
-rwxr-xr-x | packages/initscripts/initscripts-1.0/tosa/devices | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/tosa/devices b/packages/initscripts/initscripts-1.0/tosa/devices index 5ae15589b8..61cfd9d7b9 100755 --- a/packages/initscripts/initscripts-1.0/tosa/devices +++ b/packages/initscripts/initscripts-1.0/tosa/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 |