Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646)
Date: Sun, 07 Jun 2009 22:02:48
Message-Id: 18988.14596.869442.77191@a1ihome1.kph.uni-mainz.de
In Reply to: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646) by "Robin H. Johnson"
1 >>>>> On Sun, 7 Jun 2009, Robin H Johnson wrote:
2
3 > 2. Right now, every init.d script that needs to detection should revbump
4 > and change to the following:
5 > [[ -f /lib/librc.so -o -f /etc/init.d/sysfs -o -f /libexec/rc/version ]]
6
7 Wasn't the convention for init scripts to use only single square
8 brackets, i.e. POSIX shell syntax?
9
10 Ulrich

Replies