udev.lua 354 B

1234567891011121314151617181920212223
  1. -- udev
  2. local task={
  3. desc="udev and waiting for devices to settle",
  4. program="udevd",
  5. start={
  6. cmd={
  7. "udevd --daemon",
  8. "udevadm trigger --action=add --type=subsystems",
  9. "udevadm trigger --action=add --type=devices",
  10. "udevadm settle",
  11. },
  12. },
  13. --stop={
  14. -- cmd="udevadm control --exit",
  15. --},
  16. status={type="program"}
  17. }
  18. return task