never blindly adapt things from other scripts
This commit is contained in:
parent
0e6f302af7
commit
acdcc82461
|
@ -1,7 +1,6 @@
|
||||||
#!/usr/bin/env watchman
|
#!/usr/bin/env watchman
|
||||||
|
|
||||||
service_command='/bin/udevd'
|
service_command='/bin/udevd'
|
||||||
service_args='--resolve-names=never'
|
|
||||||
|
|
||||||
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"
|
cfg_udev_settle_timeout="${cfg_udev_settle_timeout:-60}"
|
||||||
|
|
||||||
|
@ -11,9 +10,9 @@ udev.populate_dev() {
|
||||||
watchman.msg "Populating /dev with udev..."
|
watchman.msg "Populating /dev with udev..."
|
||||||
udevadm trigger --type=subsystems --action=add
|
udevadm trigger --type=subsystems --action=add
|
||||||
udevadm trigger --type=devices --action=add
|
udevadm trigger --type=devices --action=add
|
||||||
|
|
||||||
watchman.msg "Waiting for uevents..."
|
watchman.msg "Waiting for uevents..."
|
||||||
udevadm settle --timeout=${cfg_udev_settle_timeout}
|
udevadm settle --timeout=${cfg_udev_settle_timeout}
|
||||||
udevadm control --property=do_not_run_plug_service=
|
|
||||||
}
|
}
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user