hotplug-preinit.json 326 B

1234567891011121314151617181920
  1. [
  2. [ "case", "ACTION", {
  3. "add": [
  4. [ "if",
  5. [ "has", "FIRMWARE" ],
  6. [
  7. [ "exec", "/sbin/hotplug-call", "%SUBSYSTEM%" ],
  8. [ "load-firmware", "/lib/firmware" ],
  9. [ "return" ]
  10. ]
  11. ],
  12. ],
  13. }, ],
  14. [ "if",
  15. [ "and",
  16. [ "eq", "SUBSYSTEM", "button" ],
  17. ],
  18. [ "exec", "/etc/rc.button/failsafe" ]
  19. ],
  20. ]