openrc/init.d
Christian Ruppert 930f4021b1 Add a new helper functions for _{flatten,get}_array
A new helper function (_array_helper) since both, the _flatten_array and
_get_array function share partially the same code.
We also reduce multiple whitespace to a single space, remove leading newlines
as well as skipping "empty" lines.

This makes the data returned by _{flatten,get}_array much nicer than before.
It also fixes bug 366677 where net-tools having trouble with the whitespace
mentioned above. iproute2 was not affected.

Reported-by: Andrew Maltsev <am@ejelta.com>
X-Gentoo-Bug: 366677
X-Gentoo-Bug-URL: https://bugs.gentoo.org/366677
2011-09-21 00:21:43 +02:00
..
.gitignore Add a new staticroute init script so that .... static routes can be configured! 2009-10-16 08:08:22 +01:00
adjkerntz.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
bootmisc.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
consolefont.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
devd.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
devdb.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
devfs.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
dmesg.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
dumpon.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
fsck.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
hostid.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
hostname.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
hwclock.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
ipfw.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
keymaps.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
killprocs.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
local.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
localmount.in Fix regex pattern for umounts during shutdown 2011-09-11 18:51:29 +02:00
Makefile remove unnecessary shell calls 2011-02-04 17:46:57 -06:00
Makefile.FreeBSD
Makefile.Linux Punt halt init script. sysvinit should install it. See Gentoo bug #246502 on how to handle this. 2008-11-12 16:28:07 +00:00
Makefile.NetBSD Add the devdb init script. 2008-05-12 15:11:04 +00:00
mixer.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
modules.in eat trailing whitespace 2011-07-04 18:27:00 -04:00
mount-ro.in Fix regex pattern for umounts during shutdown 2011-09-11 18:51:29 +02:00
moused.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
mtab.in Mtab: fix typo 2011-09-02 01:56:41 -05:00
net.lo.in Add a new helper functions for _{flatten,get}_array 2011-09-21 00:21:43 +02:00
netmount.in fix issue with extra_net_fs_list 2011-07-05 18:41:33 -05:00
network.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
newsyslog.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
nscd.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
numlock.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
pf.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
powerd.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
procfs.in procfs: simplify the binfmt_misc mount check 2011-09-18 16:01:28 -04:00
rarpd.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
rc-enabled.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
root.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
rpcbind.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
savecache.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
savecore.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
staticroute.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
swap-blk.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
swap.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
swclock.in swclock: select a default reference file 2011-07-28 09:21:29 -05:00
syscons.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
sysctl.BSD.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
sysctl.Linux.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
sysfs.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
syslogd.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
termencoding.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
ttys.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
urandom.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
wscons.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00