diff options
author | Thomas D <whissi@whissi.de> | 2014-06-10 15:23:17 +0200 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-07-05 13:12:30 -0500 |
commit | c1de8c09bf4895c6108d297fcebd63046e49e614 (patch) | |
tree | 4cbbaf5e230c387ff371940c992988bf9835ab1b /init.d/hwclock.in | |
parent | 143f1c64c13e4930e3880a393b7253d6fbc0ed58 (diff) |
Add support for verbose "local" service runscript
With this patch, the "local" service runscript will be verbose like the
"sysctl" service when 'rc_verbose="yes"' is set.
Example output successful start:
* Stopping local ...
* Executing "/etc/local.d/00will-stop.stop" ... [ ok ]
* Starting local ...
* Executing "/etc/local.d/00will-start.start" ... [ ok ]
* Executing "/etc/local.d/01 test.start" ... [ ok ]
Example output with failing executables:
* Stopping local ...
* Executing "/etc/local.d/00will-stop.stop" ... [ ok ]
* Executing "/etc/local.d/will-fail.stop" ...
mount: can't find foo in /etc/fstab
* Execution of "/etc/local.d/will-fail.stop" failed. [ !! ]
* Starting local ...
* Executing "/etc/local.d/00will-start.start" ... [ ok ]
* Executing "/etc/local.d/01 test.start" ... [ ok ]
* Executing "/etc/local.d/will-fail2.start" ...
mount: can't find bar in /etc/fstab
* Execution of "/etc/local.d/will-fail2.start" failed. [ !! ]
* Executing "/etc/local.d/will-fail.start" ...
mount: can't find foo in /etc/fstab
* Execution of "/etc/local.d/will-fail.start" failed. [ !! ]
X-Gentoo-Bug: 489274
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=489274
Diffstat (limited to 'init.d/hwclock.in')
0 files changed, 0 insertions, 0 deletions