From 0c2ff3313ee0d9a5d03f0300ac447c7cfbc4a41a Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Sat, 31 Dec 2011 11:50:17 +0400 Subject: [PATCH] add example of configuration file --- contrib/yasnd.conf.example | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 contrib/yasnd.conf.example diff --git a/contrib/yasnd.conf.example b/contrib/yasnd.conf.example new file mode 100644 index 0000000..29161cf --- /dev/null +++ b/contrib/yasnd.conf.example @@ -0,0 +1,30 @@ +# hosts' list +host 10.0.0.1 { + hostname = "10.0.0.1" + lpt_pin = 2 +} +host 10.0.0.2 { + hostname = "10.0.0.2" + lpt_pin = 3 +} +host 10.0.0.254 { + hostname = "10.0.0.254" + lpt_pin = 4 +} +# log verbosity: 0 - normal mode, 1 - verbose, 2 - most verbose +debug = 2 +# Use LPT for reset target devices? +# Note: first LPT pin is for management and it should not be used +lpt_enable = true +# LPT port address(usually 0x378 is LPT1) +lpt_port = 0x378 +# Use SMS messages for control and reports? +sms_enable = false +# Phone model for Gammu +phone_model = "at" +# Phone connection type +phone_connection = "at" +# Phone device +phone_device = "/dev/ttyACM0" +# recipient of SMS messages(if sending is enabled) +sms_recipient = "+79999999999"