Hi,
it seems that the is_chkconfig_on helper does not work if LANG is set
to something different than "C" (or another english kind of language).
This makes the pcp and pmie scripts in .../init.d fail. The following
patch cures the problem for me:
root@laplin22:/usr/share/pcp/lib > diff -u rc-proc.sh-orig rc-proc.sh
--- rc-proc.sh-orig Mon Sep 17 10:45:15 2001
+++ rc-proc.sh Mon Sep 17 10:46:43 2001
@@ -70,6 +70,7 @@
#
is_chkconfig_on()
{
+ LANG=C
_flag=$1
_ret=1 # return "off" by default
Applies against pcp-2.2.1
Regards
Martin
--
------------------------------------------------------------------
Martin Knoblauch | email: Martin.Knoblauch@xxxxxxxxxxx
TeraPort GmbH | Phone: +49-89-510857-309
C+ITS | Fax: +49-89-510857-111
http://www.teraport.de | Mobile: +49-170-4904759
|