2006-02-03 Robert Love <rml@novell.com>

* dispatcher-daemon/NetworkManagerDispatcher.c,
	  dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
	  but use the sysconfdir.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1438 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2006-02-03 17:50:33 +00:00 committed by Robert Love
parent 133134e225
commit 944f8877aa
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2006-02-03 Robert Love <rml@novell.com>
* dispatcher-daemon/NetworkManagerDispatcher.c,
dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
but use the sysconfdir.
2006-02-03 Robert Love <rml@novell.com>
* src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:

View file

@ -10,7 +10,8 @@ NetworkManagerDispatcher_CPPFLAGS = \
-Wall \
-DDBUS_API_SUBJECT_TO_CHANGE \
-DBINDIR=\"$(bindir)\" \
-DDATADIR=\"$(datadir)\" \
-DDATADIR=\"$(datadir)\" \
-DSYSCONFDIR=\"$(sysconfdir)\" \
$(NULL)
NetworkManagerDispatcher_SOURCES = NetworkManagerDispatcher.c

View file

@ -48,7 +48,7 @@ enum NMDAction
typedef enum NMDAction NMDAction;
#define NM_SCRIPT_DIR "/etc/NetworkManager/dispatcher.d"
#define NM_SCRIPT_DIR SYSCONFDIR"/NetworkManager/dispatcher.d"
/*