[package] add uci support to etherwake, patch from Matthias Buecher (#6025)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20321 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
28
net/etherwake/files/etherwake.config
Normal file
28
net/etherwake/files/etherwake.config
Normal file
@ -0,0 +1,28 @@
|
||||
config 'etherwake' 'setup'
|
||||
# possible program pathes
|
||||
option 'pathes' '/usr/bin/etherwake /usr/bin/ether-wake'
|
||||
# use sudo, defaults to off
|
||||
option 'sudo' 'off'
|
||||
# interface, defaults to 'eth0'
|
||||
# -i <ifname>
|
||||
option 'interface' ''
|
||||
# send wake-up packet to the broadcast address, defaults to off
|
||||
# -b
|
||||
option 'broadcast' 'off'
|
||||
|
||||
config 'target'
|
||||
# name for the target
|
||||
option 'name' 'example'
|
||||
# mac address to wake up
|
||||
option 'mac' '11:22:33:44:55:66'
|
||||
# password in hex without any delimiters
|
||||
option 'password' 'AABBCCDDEEFF'
|
||||
# wake up on system start, defaults to off
|
||||
option 'wakeonboot' 'off'
|
||||
|
||||
# To add a new target use:
|
||||
# uci add etherwake target
|
||||
# uci set etherwake.@target[-1].name=example
|
||||
# uci set etherwake.@target[-1].mac=11:22:33:44:55:66
|
||||
# uci set etherwake.@target[-1].password=AABBCCDDEEFF
|
||||
# uci set etherwake.@target[-1].wakeonboot=off
|
Reference in New Issue
Block a user