openrc/init.d
Thomas D c1de8c09bf 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
2014-07-05 13:12:30 -05:00
..
.gitignore init.d: update ignore patterns 2013-09-01 16:30:18 -05:00
adjkerntz.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
bootmisc.in bootmisc: Remove console directories only if $RC_LIBEXECDIR is writable 2014-01-15 10:43:52 -06:00
consolefont.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
devd.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
devdb.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
devfs.in devfs: explicitly mount /dev/shm with mode=1777 2014-01-23 12:01:53 -06:00
dmesg.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
dumpon.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
encswap.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
fsck.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
hostid.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
hostname.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
hwclock.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
ipfw.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
keymaps.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
killprocs.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
local.in Add support for verbose "local" service runscript 2014-07-05 13:12:30 -05:00
localmount.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
loopback.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
Makefile Remove gentoo's net.* scripts 2013-08-13 16:33:41 -05:00
mixer.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
modules.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
mount-ro.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
moused.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
mtab.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
netmount.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
network.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
newsyslog.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
nscd.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
numlock.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
pf.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
powerd.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
procfs.in SELinux filesystem is at /sys/fs/selinux 2014-06-20 18:37:33 -05:00
rarpd.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
rc-enabled.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
root.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
rpcbind.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
savecache.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
savecore.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
staticroute.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
swap-blk.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
swap.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
swapfiles.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
swclock.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
syscons.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
sysctl.BSD.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
sysctl.Linux.in sysctl.Linux.in: remove -lxc from keywords 2014-07-04 08:33:55 -05:00
sysfs.in sysfs: Do not mount openrc cgroup if it is already mounted 2014-06-30 20:30:39 -05:00
syslogd.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
termencoding.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
tmpfiles.dev.in tmpfiles.dev: remove --remove option 2014-04-03 12:39:27 -05:00
tmpfiles.setup.in tmpfiles: add support for --boot option 2014-03-27 11:36:41 -04:00
ttys.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
urandom.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00
wscons.in Rename runscript to openrc-run 2013-12-29 22:57:31 -06:00