2 # Copyright (C) 2006-2013 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
6 HOTPLUG=/sbin/hotplug-call
10 [ -c /dev/console ] || mknod /dev/console c 5 1
11 /sbin/hotplug2 --set-rules-file /etc/hotplug2-init.rules --no-persistent --set-coldplug-cmd /sbin/udevtrigger
12 /sbin/hotplug2 --set-rules-file /etc/hotplug2-init.rules --persistent &
16 [ -d /lib/udev/devices ] && cp -af /lib/udev/devices/* /dev/
17 [ -c /dev/console ] || mknod -m 0600 /dev/console c 5 1
18 [ -c /dev/null ] || mknod -m 0666 /dev/null c 1 3
19 /sbin/udevd --daemon --resolve-names=never
26 if grep -q devfs /proc/filesystems; then
28 elif [ -x /sbin/hotplug2 ]; then
30 elif [ -x /sbin/udevd ]; then
35 boot_hook_add preinit_essential init_device_fs