On Mon, 2008-11-03 at 11:38 +0900, Ian Kent wrote:
> On Mon, 2008-11-03 at 13:33 +1100, Paul Wankadia wrote:
> > On Mon, Nov 3, 2008 at 1:20 PM, Ian Kent <[EMAIL PROTECTED]> wrote:
> > 
> > >> FWIW, I'm using Ubuntu.
> > >
> > > And you don't have a directory /etc/conf.d, has that changed somehow,
> > > does it not exist at your build time?
> > 
> > No, /etc/default/ appears to be the directory that other packages are using.
> 
> Oh .. of course, Ubuntu is a Debian variant, sorry.
> 
> I think I've used /etc/defaults, thinking that was the Debian based
> location, but maybe there was another reason for that as well, I'll
> add /etc/default to the list.
> 

I've added this directory to the list and committed the change.
It may take a while to reach the public mirrors so this is the patch.

autofs-5.0.3 - add missing confdir location

From: Ian Kent <[EMAIL PROTECTED]>

The list of possible directories which hold the autofs configuration
is missing /etc/default.
---

 aclocal.m4 |    2 +-
 configure  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/aclocal.m4 b/aclocal.m4
index 9ef4050..52a1e47 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -95,7 +95,7 @@ dnl Check the location of the configuration defaults directory
 dnl --------------------------------------------------------------------------
 AC_DEFUN(AF_CONF_D,
 [if test -z "$confdir"; then
-  for conf_d in /etc/sysconfig /etc/defaults /etc/conf.d; do
+  for conf_d in /etc/sysconfig /etc/defaults /etc/conf.d /etc/default; do
     if test -z "$confdir"; then
       if test -d "$conf_d"; then
        confdir="$conf_d"
diff --git a/configure b/configure
index 9278196..10e44cb 100755
--- a/configure
+++ b/configure
@@ -1791,7 +1791,7 @@ fi
 # Location of system config script directory?
 #
 if test -z "$confdir"; then
-  for conf_d in /etc/sysconfig /etc/defaults /etc/conf.d; do
+  for conf_d in /etc/sysconfig /etc/defaults /etc/conf.d /etc/default; do
     if test -z "$confdir"; then
       if test -d "$conf_d"; then
        confdir="$conf_d"



_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to