You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
862 B

  1. config 'etherwake' 'setup'
  2. # possible program pathes
  3. option 'pathes' '/usr/bin/etherwake /usr/bin/ether-wake'
  4. # use sudo, defaults to off
  5. option 'sudo' 'off'
  6. # interface, defaults to 'eth0'
  7. # -i <ifname>
  8. option 'interface' ''
  9. # send wake-up packet to the broadcast address, defaults to off
  10. # -b
  11. option 'broadcast' 'off'
  12. config 'target'
  13. # name for the target
  14. option 'name' 'example'
  15. # mac address to wake up
  16. option 'mac' '11:22:33:44:55:66'
  17. # password in hex without any delimiters
  18. option 'password' 'AABBCCDDEEFF'
  19. # wake up on system start, defaults to off
  20. option 'wakeonboot' 'off'
  21. # To add a new target use:
  22. # uci add etherwake target
  23. # uci set etherwake.@target[-1].name=example
  24. # uci set etherwake.@target[-1].mac=11:22:33:44:55:66
  25. # uci set etherwake.@target[-1].password=AABBCCDDEEFF
  26. # uci set etherwake.@target[-1].wakeonboot=off