eudev: prevent udev init script nonexistent directory error
authorJoshua Henderson <joshua.henderson@microchip.com>
Thu, 22 Mar 2018 16:20:01 +0000 (09:20 -0700)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 25 Mar 2018 19:37:11 +0000 (21:37 +0200)
commitcbe725d755006e41a71180b5786fa9f52104f518
tree31690b3dbfa01a3c02cd5fbd9c74f2a2d6887e08
parent108837294191db0075aa0d05ce11f7c51a3dca14
eudev: prevent udev init script nonexistent directory error

The following error occures in the udev init script because the kernel config
may optionally not include uevent_helper.

/etc/init.d/S10udev: line 47: can't create /proc/sys/kernel/hotplug: nonexistent directory

Work around this by not trying to access the destination if it's not available.

Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/eudev/S10udev