Commit Graph

75 Commits

Author SHA1 Message Date
9fd34303ee Set failures threshold variables type as long, due to unpredictable behaviour of libconfuse on x86_64
This commit partly reverts commit 1610c1394f
2012-03-23 17:52:39 +04:00
8c2e9b4dc2 change daemon path in OpenRC scripts 2012-03-23 14:08:56 +04:00
5c63ca9358 remove usage of deprecated INCLUDES variable 2012-03-23 14:04:39 +04:00
3cb6eda717 change default installation prefix to /usr 2012-03-23 14:04:04 +04:00
67ef2242d0 add missing headers definition for automake 2012-03-23 13:34:32 +04:00
1a7170cf9f update to gitignore - add exclusions for libtool and some source files 2012-03-23 12:48:35 +04:00
de38500b8f move phone variables to gammu-related part of yasnd library 2012-03-22 18:40:58 +04:00
6aefa54e73 fix warning about implicit declaration of logging function in yasnd-lpt.c 2012-03-22 18:40:58 +04:00
92eb3d25ff move gammu-related code header info into separate file 2012-03-22 18:40:58 +04:00
2397a6df06 move lpt and logging functions into library 2012-03-22 18:40:58 +04:00
aacb1299d8 Split logging functions into separate files 2012-03-22 18:40:57 +04:00
447d6e59e0 Split lpt functions into separate files 2012-03-22 18:40:57 +04:00
bc7929b67b fix infinite loop while parsing command line options 2012-03-22 18:37:20 +04:00
a2877a1364 continue code separation into different folders 2012-03-18 21:32:46 +04:00
a528959369 OpenRC script for LPT locking on boot 2012-03-18 14:15:17 +04:00
012f3ce8ca implement new version of lpt_lock call to properly handle early calls of this function 2012-03-18 14:11:09 +04:00
ddda04d12f replace command line arguments parser with built-in getopt code 2012-03-13 15:56:54 +04:00
dad8fb8329 move gammu-related code to shared library 2012-02-23 22:03:31 +04:00
525675c96f remove hardcoded path for m4 2012-02-23 13:59:11 +04:00
8159ff04d2 begin to separate potentially shared code into library 2012-02-23 13:36:48 +04:00
131ea70b6a fix improper SIGTERM handling, improve freeing resources 2012-01-03 04:51:57 +04:00
5e3891a985 remove unnecessary --make-pidfile option from init script. Fix copyright header 2012-01-03 03:51:11 +04:00
9668922f8f Revert "remove unneeded fork(for now)"
This reverts commit 955aeb64b7.
Implement pid file management and locking. Only single instance of daemon is allowed
2012-01-03 03:48:26 +04:00
1610c1394f make failures thresholds configurable 2012-01-03 03:05:53 +04:00
0c2ff3313e add example of configuration file 2011-12-31 11:50:17 +04:00
eee04e2563 fix LPT pin numeration 2011-12-31 11:48:35 +04:00
233f9ffab0 improve checking of "lpt_enable" variable 2011-12-31 11:46:30 +04:00
828d9323cc implement LPT locking which will be used early on boot 2011-12-31 11:43:17 +04:00
7bddf7353e make LPT reset function to work properly 2011-12-20 19:16:43 +04:00
71910fa888 add init script for OpenRC 2011-12-20 18:06:34 +04:00
955aeb64b7 remove unneeded fork(for now) 2011-12-20 18:01:46 +04:00
d9858da0d4 change default installation path for yasnd binary to /sbin 2011-12-20 17:33:51 +04:00
73bdb15644 rename variable "sms_send_enable" to "sms_enable" 2011-12-20 17:05:53 +04:00
671d569f36 implement SMS reading 2011-12-20 17:02:34 +04:00
fba4ffb66e fork SMS sending process 2011-12-20 13:23:13 +04:00
d8829305fc implement SMS sending via IPC queue loop 2011-12-19 18:35:14 +04:00
94e7bc7478 add missing features to configure.ac 2011-12-19 18:34:44 +04:00
c2aa0ac0ab implement reaction system, based on the amount of time that host is offline 2011-12-19 17:02:42 +04:00
bc36207f1f make delay between iterations more predictable 2011-12-19 15:56:34 +04:00
323eb556c8 add LPT pin number to host structure 2011-12-19 15:19:18 +04:00
240aa35786 change host structure definition in config file 2011-12-19 14:52:57 +04:00
d4f632689a remove unneeded whitespace 2011-12-19 13:31:40 +04:00
bb6b2328aa implement proper LPT control circuit init on daemon start 2011-12-19 11:22:17 +04:00
e7d900d9b7 some code exports reorganization and cleanups 2011-12-19 11:08:19 +04:00
989ca201e4 lock LPT control circuit when receiving SIGTERM 2011-12-19 10:07:48 +04:00
4c1fb5fa9d make LPT port configurable 2011-12-19 09:56:50 +04:00
7ecbe35d83 move Main Loop to a separate clone process 2011-12-18 12:07:40 +04:00
52b69a0196 initialize gammu only when enabled in config 2011-12-17 19:49:12 +04:00
796be414fc implement function for SMS reading 2011-12-17 19:47:58 +04:00
85f8da54a5 move freeing IPC resources in separate function 2011-12-14 18:13:42 +04:00