$NetBSD: patch-ab,v 1.1.1.1 2009/08/16 18:25:53 bouyer Exp $

--- lib/Ocsinventory/Agent/Config.pm.orig	2009-03-22 20:11:09.000000000 +0100
+++ lib/Ocsinventory/Agent/Config.pm	2009-06-25 15:14:11.000000000 +0200
@@ -8,9 +8,7 @@
 
   @{$config->{etcdir}} = ();
 
-  push (@{$config->{etcdir}}, '/etc/ocsinventory');
-  push (@{$config->{etcdir}}, '/usr/local/etc/ocsinventory');
-  push (@{$config->{etcdir}}, '/etc/ocsinventory-agent');
+  push (@{$config->{etcdir}}, '@PKG_SYSCONFDIR@');
   push (@{$config->{etcdir}}, $ENV{HOME}.'/.ocsinventory');
 
   if (!$file || !-f $file) {
