[arch-projects] [initscripts] [GIT] Arch Linux initscripts repository annotated tag 2012.07.3 created. 2012.07.3
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Arch Linux initscripts repository". The annotated tag, 2012.07.3 has been created at 42e5176baaf10c0b19f597426e1fd008bbec2d5c (tag) tagging 70810a6eb90a2145246abbca4195aaf2d4741dcc (commit) replaces 2012.07.2 tagged by Tom Gundersen on Sat Jul 21 01:38:23 2012 +0200 - Log ----------------------------------------------------------------- refactor rc.conf and manpage + other fixes Tom Gundersen (12): os-release: factor out distro name/url status: be verbose by default DAEMON_LOCALE: default to 'yes' rather than 'no' rc.sysinit: remove redundant export of LANG USECOLOR: default to 'yes' rather than 'no' network: don't complain about missing or invalid interface man: update rc.conf(5) network: don't check for existence of if on net_down rc.conf: prune bootlog: start logging after rootfs is ro man: spruce up rc.conf manpage a bit rc.conf: reinstate some settings ----------------------------------------------------------------------- hooks/post-receive -- Arch Linux initscripts repository
On Sat, Jul 21, 2012 at 1:38 AM, Tom Gundersen <tomegun@archlinux.org> wrote:
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Arch Linux initscripts repository".
The annotated tag, 2012.07.3 has been created at 42e5176baaf10c0b19f597426e1fd008bbec2d5c (tag) tagging 70810a6eb90a2145246abbca4195aaf2d4741dcc (commit) replaces 2012.07.2 tagged by Tom Gundersen on Sat Jul 21 01:38:23 2012 +0200
- Log ----------------------------------------------------------------- refactor rc.conf and manpage + other fixes
Tom Gundersen (12): os-release: factor out distro name/url status: be verbose by default This one broke rc scripts using status -v. You probably should do nothing with -v and accept it.
DAEMON_LOCALE: default to 'yes' rather than 'no' rc.sysinit: remove redundant export of LANG USECOLOR: default to 'yes' rather than 'no' network: don't complain about missing or invalid interface man: update rc.conf(5) network: don't check for existence of if on net_down rc.conf: prune bootlog: start logging after rootfs is ro man: spruce up rc.conf manpage a bit rc.conf: reinstate some settings
-----------------------------------------------------------------------
hooks/post-receive -- Arch Linux initscripts repository
-- Sébastien "Seblu" Luttringer www.seblu.net
Since this is technically public API, the -v flag shouldn't be removed so easily. Re-add it, but make it a NOOP to support existing uses of it. Signed-off-by: Dave Reisner <dreisner@archlinux.org> --- functions | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/functions b/functions index b231eca..19159e6 100644 --- a/functions +++ b/functions @@ -171,7 +171,16 @@ stat_die() { } status() { - [[ $1 = '-q' ]] && { local quiet=1; shift; } + local quiet + case $1 in + -q) + quiet=1 + ;;& + -v) + # NOOP: supported for backwards compat + shift + ;; + esac stat_busy "$1" shift if (( quiet )); then -- 1.7.11.2
participants (3)
-
Dave Reisner
-
Sébastien Luttringer
-
tomegun@archlinux.org