Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2006 09:41:16 +0300 (EEST)
From:      Veselin Slavov <vess@slavof.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97335: fetchmail.sh syntax error
Message-ID:  <200605160641.k4G6fGKj003417@server.slavof.net>
Resent-Message-ID: <200605160650.k4G6oIb9060840@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97335
>Category:       ports
>Synopsis:       fetchmail.sh syntax error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 16 06:50:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Veselin Slavov
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD server.slavof.net 5.4-STABLE FreeBSD 5.4-STABLE #10: Mon Oct 24 19:22:27 EEST 2005 vess@server.slavof.net:/usr/obj/usr/src/sys/server i386


	
>Description:
	When run fetchmnail.sh - error reporting:
	/usr/local/etc/rc.d/fetchmail.sh: /usr/local/etc/rc.d/fetchmail: not found 
>How-To-Repeat:
	Try to run: /usr/local/etc/rc.d/fetchmail.sh start
>Fix:
--- fetchmail.sh.old    Tue May 16 09:30:34 2006
+++ fetchmail.sh        Tue May 16 09:31:43 2006
@@ -106,7 +106,7 @@
                # calls of this script
                for user in ${fetchmail_users}; do
                        echo "===> fetchmail user: ${user}"
-                       /usr/local/etc/rc.d/fetchmail $1 ${user}
+                       /usr/local/etc/rc.d/fetchmail.sh $1 ${user}
                        retcode="$?"
                        if [ "0${retcode}" -ne 0 ]; then
                                failed="${user} (${retcode}) ${failed:-}"
@@ -120,7 +120,7 @@
                        # There is only one global configuration file
                        globalconfig=GLOBALCONFIG
                fi
-               /usr/local/etc/rc.d/fetchmail $1 `id -u -n` $globalconfig
+               /usr/local/etc/rc.d/fetchmail.sh $1 `id -u -n` $globalconfig
                retcode="$?"
                if [ "0${retcode}" -ne 0 ]; then
                        failed="${user} (${retcode}) ${failed:-}"


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605160641.k4G6fGKj003417>