add example config file
This commit is contained in:
parent
d12523e8ea
commit
a6885453dc
1 changed files with 16 additions and 0 deletions
16
etc/etherswitch.rc
Normal file
16
etc/etherswitch.rc
Normal file
|
@ -0,0 +1,16 @@
|
|||
device=eth0
|
||||
port=0
|
||||
|
||||
# called when the switch is on
|
||||
on_switch_close() {
|
||||
:
|
||||
}
|
||||
|
||||
# called when the switch is off
|
||||
on_switch_open() {
|
||||
:
|
||||
}
|
||||
|
||||
on_switch_toggle() {
|
||||
:
|
||||
}
|
Loading…
Reference in a new issue