From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HPL46-00082U-E3 for garchives@archives.gentoo.org; Thu, 08 Mar 2007 16:02:03 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l28G095S010983; Thu, 8 Mar 2007 16:00:09 GMT Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l28G06Bs010928 for ; Thu, 8 Mar 2007 16:00:08 GMT Received: by ug-out-1314.google.com with SMTP id z38so1059379ugc for ; Thu, 08 Mar 2007 08:00:06 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=cB6HfSWVEnLKXKiHFDxMlaIgUf7QtSzzzHG+1HB98ViqX3M18UKI2RNfdLUSDQvGSNwUjZ37mSlJbbayQcQWrdLZwo0tgYgaEhvFB3MqMsc4yI6/jhcoSLZTLUq9dHG3Sn5rRomQqkKrkrgHx9i3inAUyRQHYPUGYb4PNxtJn0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=SGYcSjIPR+PYdrQ96vp57WU/SNrhiZywK2b6IRDj3qW2fjNjjTUu76yzal0H++U6sXJf79SCgwhw8spv2AsOJHYAMj19XNK+ubT3j4hfwa1pYBQr2Akm520fxqRsmWlsx/h/yJtrS179NyR2u3BJtQDuqbahEh6DMnnJdfMNDK8= Received: by 10.67.101.10 with SMTP id d10mr7187445ugm.1173369606693; Thu, 08 Mar 2007 08:00:06 -0800 (PST) Received: from ?192.168.65.211? ( [213.234.126.134]) by mx.google.com with ESMTP id b30sm4695087ika.2007.03.08.08.00.05; Thu, 08 Mar 2007 08:00:06 -0800 (PST) Subject: [gentoo-embedded] init.d scripts and bash From: Natanael Copa To: gentoo-embedded@lists.gentoo.org Content-Type: text/plain Date: Thu, 08 Mar 2007 17:00:04 +0100 Message-Id: <1173369604.5480.20.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 0803ba50-7d5a-40ea-b0d3-bb57ebdd05f7 X-Archives-Hash: 7dda33c7b3b87898831122ab95bc2f63 Hi, Are there anybody more than me that use the gentoo init.d scripts without using bash? Most init.d scripts runs just fine with a small runscript wrapper. A few needs patching to work, typically replacing: [[ expr || expr ]] with: [[ expr ]] || [[ expr ]] But sometimes arrays and such are used (very often its easy to work around) Are there any hope for setting a gentoo policy that says bash specific things should be avoided if possible in init.d scripts? Natanael Copa -- gentoo-embedded@gentoo.org mailing list