diff options
Diffstat (limited to 'sys-fs/udev/files/udev-start-089.sh')
-rw-r--r-- | sys-fs/udev/files/udev-start-089.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-fs/udev/files/udev-start-089.sh b/sys-fs/udev/files/udev-start-089.sh index e571b9bb69dc..4e868677e7f8 100644 --- a/sys-fs/udev/files/udev-start-089.sh +++ b/sys-fs/udev/files/udev-start-089.sh @@ -79,7 +79,9 @@ seed_dev() { ebegin "Seeding /dev with needed nodes" # copy over any persistant things - cp --preserve=all --recursive --update /lib/udev/devices/* /dev + if [[ -d /lib/udev/devices ]] ; then + cp --preserve=all --recursive --update /lib/udev/devices/* /dev + fi # Not provided by sysfs but needed ln -snf /proc/self/fd /dev/fd |