]> arthur.barton.de Git - netatalk.git/commitdiff
gentoo: cannot set $CNID_CONFIG, from Csacsa
authorHAT <hat@fa2.so-net.ne.jp>
Tue, 11 Jan 2011 13:58:17 +0000 (22:58 +0900)
committerHAT <hat@fa2.so-net.ne.jp>
Tue, 11 Jan 2011 13:58:17 +0000 (22:58 +0900)
In case of Gentoo's initscript, the "--" after the --exec means parameter.

NEWS
distrib/initscripts/rc.atalk.gentoo.tmpl

diff --git a/NEWS b/NEWS
index bc54188ee6ad0a9029cac4aa3f48090349b9f7b9..565c523db6d4909164ddca460500d2f02323153c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ Changes in 2.1.6
 ================
 
 * FIX: afpd: Fix for LDAP user cache corruption
+* FIX: gentoo: cannot set $CNID_CONFIG
 
 Changes in 2.1.5
 ================
index c75ed74b9d0dbfbfabbffd396da62ca5cf2c69a2..200b0c24636e91b0b050fc3a05a37ee50bdd7dcd 100644 (file)
@@ -37,7 +37,8 @@ atalk_startup () {
 
        if [ "${CNID_METAD_RUN}" = "yes" ] ; then
         ebegin "Starting cnid_metad"
-               start-stop-daemon --start --quiet --exec :SBINDIR:/cnid_metad $CNID_CONFIG
+               start-stop-daemon --start --quiet --exec :SBINDIR:/cnid_metad -- \
+                       ${CNID_CONFIG}
                eend $?
        fi