mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
udev:
- cleanup init script - try to run without udevadm settle
This commit is contained in:
parent
57309e2a64
commit
f87597f1ad
@ -6,20 +6,16 @@
|
|||||||
|
|
||||||
. /etc/sysconfig
|
. /etc/sysconfig
|
||||||
|
|
||||||
if test -f /sbin/udevd; then
|
progress "starting Udev"
|
||||||
|
|
||||||
progress "starting Udev"
|
# export UDEV_MAX_CHILDS=2
|
||||||
|
# export UDEV_MAX_CHILDS_RUNNING=2
|
||||||
|
|
||||||
export UDEV_MAX_CHILDS=2
|
# echo > /proc/sys/kernel/hotplug
|
||||||
export UDEV_MAX_CHILDS_RUNNING=2
|
|
||||||
|
|
||||||
echo > /proc/sys/kernel/hotplug
|
|
||||||
|
|
||||||
udevd --daemon
|
udevd --daemon
|
||||||
udevadm trigger
|
udevadm trigger &
|
||||||
udevadm settle --timeout=60
|
# udevadm settle --timeout=60 &
|
||||||
udevadm monitor 2>&1 >/var/log/udev &
|
udevadm monitor 2>&1 >/var/log/udev &
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user