aboutsummaryrefslogtreecommitdiff
path: root/net/etherwake/files/etherwake.config
diff options
context:
space:
mode:
authorPeter Wagner <tripolar@gmx.at>2014-06-28 22:54:10 +0200
committerPeter Wagner <tripolar@gmx.at>2014-06-28 22:54:10 +0200
commitbf2764512198b668a4f587576e5768af7f3ab3a6 (patch)
tree4e1b6f212a791a04482d8474a432c7a7ed4a35c4 /net/etherwake/files/etherwake.config
parentf5e6eced6e1088b54dc3dce838d64583af54b73e (diff)
etherwake: import from packages
Diffstat (limited to 'net/etherwake/files/etherwake.config')
-rw-r--r--net/etherwake/files/etherwake.config28
1 files changed, 28 insertions, 0 deletions
diff --git a/net/etherwake/files/etherwake.config b/net/etherwake/files/etherwake.config
new file mode 100644
index 000000000..3d8e5158c
--- /dev/null
+++ b/net/etherwake/files/etherwake.config
@@ -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