Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] rfc: openrc init scripts taking command line arguments
Date: Wed, 18 Jul 2012 20:19:04
Message-Id: 20120718194152.GA20903@linux1
1 All,
2
3 I have received a request to allow OpenRC's init scripts to take command
4 line arguments [1]. As noted on the bug, there are some advantages to
5 this, but implementing it would have to break backward compatibility,
6 for example:
7
8 /etc/init.d/foo stop start
9
10 would no longer work the way you might expect because there would be no
11 way to tell whether start is a command or an argument to stop.
12
13 What are your thoughts about this change?
14
15 Thanks,
16
17 William
18
19 [1] https://bugs.gentoo.org/show_bug.cgi?id=427144

Replies