]> arthur.barton.de Git - netatalk.git/commitdiff
moved "bindir" to prefix/bin/ to solve passing as variables problem from autoconf
authorrufustfirefly <rufustfirefly>
Tue, 5 Sep 2000 15:21:18 +0000 (15:21 +0000)
committerrufustfirefly <rufustfirefly>
Tue, 5 Sep 2000 15:21:18 +0000 (15:21 +0000)
distrib/initscripts/rc.atalk.redhat.in

index 710a18da1c277a47bef70ef4148ab729fdb26b0c..8b580256b9c65098a6abceebfda0798a796b1735 100755 (executable)
@@ -38,8 +38,8 @@ atalk_startup() {
        RETVAL_ATALKD=$?
 
        if [ -x @bindir@/nbprgstr ]; then       
-           @bindir@/nbprgstr -p 4 "${ATALK_NAME}:Workstation${ATALK_ZONE}"
-           @bindir@/nbprgstr -p 4 "${ATALK_NAME}:netatalk${ATALK_ZONE}"
+           @prefix@/bin/nbprgstr -p 4 "${ATALK_NAME}:Workstation${ATALK_ZONE}"
+           @prefix@/bin/nbprgstr -p 4 "${ATALK_NAME}:netatalk${ATALK_ZONE}"
        fi      
 
        if [ x"${PAPD_RUN}" = x"yes"  -a -x @prefix@/sbin/papd ]; then
@@ -48,8 +48,8 @@ atalk_startup() {
        fi
 
        # check for timelord in bin directory
-       if [ -x @bindir@/timelord ]; then
-           daemon @bindir@/timelord
+       if [ -x @prefix@/bin/timelord ]; then
+           daemon @prefix@/bin/timelord
        fi
 
        # check for timelord in sbin directory
@@ -91,7 +91,7 @@ case "$1" in
            fi
 
             # checking for timelord in bin directory
-           if [ -x @bindir@/timelord ]; then
+           if [ -x @prefix@/bin/timelord ]; then
                killproc timelord
            fi
 
@@ -100,8 +100,8 @@ case "$1" in
                killproc timelord
            fi
 
-           @bindir@/nbpunrgstr "${ATALK_NAME}:Workstation${ATALK_ZONE}"
-           @bindir@/nbpunrgstr "${ATALK_NAME}:netatalk${ATALK_ZONE}"
+           @prefix@/bin/nbpunrgstr "${ATALK_NAME}:Workstation${ATALK_ZONE}"
+           @prefix@/bin/nbpunrgstr "${ATALK_NAME}:netatalk${ATALK_ZONE}"
 
            # kill atalkd last, since without it the plumbing goes away.
            if [ -x @prefix@/sbin/atalkd ]; then