From a6885453dc46f0820f59bd4270c1da17d477304b Mon Sep 17 00:00:00 2001 From: encrypt Date: Tue, 31 Mar 2015 19:16:36 +0200 Subject: [PATCH] add example config file --- etc/etherswitch.rc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 etc/etherswitch.rc diff --git a/etc/etherswitch.rc b/etc/etherswitch.rc new file mode 100644 index 0000000..43ce327 --- /dev/null +++ b/etc/etherswitch.rc @@ -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() { + : +}