From 046d63cfe5d1445743e8504be912b10e3ad6c163 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Wed, 15 Jun 2011 17:32:56 +0200 Subject: [PATCH] autofs: changed to set sysconfdir to '/etc/autofs' in the case it was auto-configured to '/etc' --- filesystem/autofs/autofs.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/filesystem/autofs/autofs.conf b/filesystem/autofs/autofs.conf index 57be49232..2e0683917 100644 --- a/filesystem/autofs/autofs.conf +++ b/filesystem/autofs/autofs.conf @@ -24,3 +24,7 @@ hook_add prepatch 5 'pkg_autofs_prepatch' if pkginstalled openldap; then var_append GCC_WRAPPER_APPEND ' ' "-I$root$( pkgprefix includedir openldap )" fi + +# set sysconfdir to '/etc/autofs' in the case it was auto-configured to '/etc' +[ "$sysconfdir" = "$root/etc" ] && \ + sysconfdir=$root/etc/autofs