diff --git a/prog/sensord/args.c b/prog/sensord/args.c index 1494baa0..572b1c32 100644 --- a/prog/sensord/args.c +++ b/prog/sensord/args.c @@ -3,7 +3,7 @@ * * A daemon that periodically logs sensor information to syslog. * - * Copyright (c) 1999-2000 Merlin Hughes + * Copyright (c) 1999-2001 Merlin Hughes * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,11 +33,13 @@ int isDaemon = 0; const char *sensorsCfgFile = "sensors.conf"; +const char *pidFile = "/var/run/sensord.pid"; int scanTime = 60; int logTime = 30 * 60; int syslogFacility = LOG_LOCAL4; int doScan = 0; int doSet = 0; +int debug = 0; sensors_chip_name chipNames[MAX_CHIP_NAMES]; int numChipNames = 0; @@ -92,6 +94,8 @@ static const char *daemonSyntax = " -l, --log-interval