never blindly adapt things from other scripts

This commit is contained in:
Jack L. Frost 2014-02-24 15:32:18 +04:00
parent 0e6f302af7
commit acdcc82461

View File

@ -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() {