Commits
Markus W. Weißmann authored b613f58e66f
1 + | --- icmpmonitor.c 2004-05-28 03:33:07.000000000 +0200 |
2 + | +++ icmpmonitor.c 2005-11-01 20:38:47.000000000 +0100 |
3 + | @@ -224,8 +224,8 @@ |
4 + | |
5 + | if(!cfgfile) |
6 + | { |
7 + | - log(LOG_WARNING,"No cfg file specified. Assuming 'icmpmonitor.cfg'"); |
8 + | - cfgfile="icmpmonitor.cfg"; |
9 + | + log(LOG_WARNING,"No cfg file specified. Assuming '__ETCDIR__/icmpmonitor.cfg'"); |
10 + | + cfgfile="__ETCDIR__/icmpmonitor.cfg"; |
11 + | } |
12 + | |
13 + | read_hosts(cfgfile); /* we do this before becoming daemon, |