ports/97335: fetchmail.sh syntax error
Veselin Slavov
vess at slavof.net
Tue May 16 06:50:24 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list