File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1+ AM_CPPFLAGS = -DSYSCONFDIR='"$(sysconfdir ) "'
2+
13sbin_PROGRAMS =hdapsd
24hdapsd_SOURCES =hdapsd.c hdapsd.h input-helper.c input-helper.h
35hdapsd_CFLAGS =$(LIBCONFIG_CFLAGS )
Original file line number Diff line number Diff line change @@ -398,6 +398,7 @@ void usage ()
398398 printf ("\n" );
399399#ifdef HAVE_LIBCONFIG
400400 printf (" -c --cfgfile=<cfgfile> Load configuration from <cfgfile>.\n" );
401+ printf (" By default, configuration is read from " CONFIG_FILE "\n" );
401402#endif
402403 printf (" -d --device=<device> <device> is likely to be hda or sda.\n" );
403404 printf (" Can be given multiple times\n" );
Original file line number Diff line number Diff line change 11#include <stdio.h>
22
33#define PID_FILE "/var/run/hdapsd.pid"
4- #define CONFIG_FILE "/etc /hdapsd.conf"
4+ #define CONFIG_FILE SYSCONFDIR" /hdapsd.conf"
55#define HDAPS_POSITION_FILE "/sys/devices/platform/hdaps/position"
66#define MOUSE_ACTIVITY_FILE "/sys/devices/platform/hdaps/keyboard_activity"
77#define KEYBD_ACTIVITY_FILE "/sys/devices/platform/hdaps/mouse_activity"
You can’t perform that action at this time.
0 commit comments