On June 8, [EMAIL PROTECTED] said:
> --- resolvconf-1.35/etc/resolvconf/update.d/dnscache 2006-03-08
> 12:03:13.000000000 -0500
> +++ /etc/resolvconf/update.d/dnscache 2006-06-08 01:06:20.000000000
> -0400
> @@ -94,8 +94,10 @@
>
> for CACHE in $CACHES ; do
> cp "$TMPFILE" "$CACHE/root/servers/@"
> - ## restart the cache if it's already running:
> - [ -x /command/svc ] && /command/svc -t "$CACHE"
> + ## restart the cache if it's already running (try both default
> locations of svc):
> + ( [ -x /command/svc ] && /command/svc -t "$CACHE" ) || \
> + ( [ -x /usr/bin/svc ] && /usr/bin/svc -t "$CACHE" )
> + fi
> done
>
> rm -f "$TMPFILE"
Gah. that last "fi" line doesn't belong there. Please excuse my
haste in posting a broken patch.
--dkg
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]