X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47F1B902.9050507@cwilson.fastmail.fm> Date: Mon, 31 Mar 2008 23:24:34 -0500 From: Charles Wilson User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: sysvinit-2.86-2: A System-V Init Clone References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Dr. Volker Zell wrote: > o Switched /usr/bin/init-config to use CSIH_SCRIPT BTW, in the new init-config script: # ====================================================================== # Action! # ====================================================================== csih_enable_color color is enabled by default. By explicitly (and unconditionally) enabling it here, you defeat the purpose of this: if [ "$PROGDIR" = "/etc/postinstall" ] then csih_auto_answer="no" csih_disable_color fi if [ -n "${CONFIG_AUTO_ANSWER_NO}" ] then csih_auto_answer="no" csih_disable_color fi Which means that the setup.log.full file will contain funny characters -- IF /etc/postinstall/sysvinit invokes init-config. This brings up another point (which may obviate the previous one): In the past, /etc/postinstall/sysvinit.sh was a copy of init-config; with csih, that's not the way to do it. Instead, the postinstall script should execute init-config like this (using the variable name you chose above): export CONFIG_AUTO_ANSWER_NO=1 /usr/bin/init-config However, the new package doesn't have a post-install script at all. I wonder if you shouldn't: (1) remove the explicit csih_enable_color from init-config (2) add a postinstall script with the two lines above. -- Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/