Age | Commit message (Collapse) | Author | Files |
|
This patch implement loading of sysctl config files as described in
http://0pointer.de/public/systemd-man/sysctl.d.html
This is a very conveniant way of configuring sysctl option for sysadmin
which can drop sysctl config files inside this directory to enable some
feature.
Dropping a file like disableipv6.conf inside this directory will disable ipv6
$ cat disableipv6.conf
net.ipv6.conf.all.disable_ipv6 = 1
There is atm no package which use this functionnality
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
|
|
Now that we set PATH in functions, we can use is everywhere.
|
|
|
|
|
|
Conflicts:
rc.multi
rc.single
Trivial conflict, and fixed a bug introduced when I imported the patches in the first place (oops).
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Going from multi to single and going back to multi, bootlogd is not running.
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
|
|
Signed-off-by: Dave Reisner <d@falconindy.com>
|
|
This saves all the output during boot to /var/log/boot, which makes
debugging boot problems much simpler.
The logfile contains all the control (color) characters from boot, so
some post processing is in order before the log can be read in a nice
format (e.g. less should be able to show this nicely in raw mode).
Start bootlogd as soon as the required /dev/pts is mounted.
When boot is finished (either at the end of rc.multi or rc.single)
create the required lof file (/var/log/boot) if it does not exist. This
causes bootlogd to flush the log to disk.
Finally, send SIGTERM to bootlogd and clean up after it.
Idea-and-original-patch-by: Søren Poulsen <nikorpoulsen@gmail.com>
Tested-by: David Goldstein <djg1971@gmail.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
* adhere to a consistant vim modeline
* use top-right/bottom-left braces for functions
Signed-off-by: Dave Reisner <d@falconindy.com>
Signed-off-by: Tom Gundersen <teg@jklm.no>
|
|
Change the daemon running loop to use a case statement.
This is shorter and easier to read.
Quote daemon names.
Someday, someone may have a daemon name with a space in it.
|
|
This patch makes the hook names unique, prefixing them all with the script name (without the 'rc.')
It also removes the explicit declarations of all elements of the array, bash assumes "" if they are uninitialized
|
|
certain places
A function add_hook can be called from functions.d to register a hook function. The existing hooks
are based on suggestions from Michael Towers (larch) and on the implementation of initscripts-extras-fbsplash
which currently uses the strings passed to stat_busy and stat_done for this. More hooks can
be added if requested.
The implementation uses associative arrays and will thus only work with bash 4 or later
|
|
Signed-off-by: Anton Fiuman <llexiw@gmail.com>
|
|
This is an obvious oversight on my part - this change allows
the overridden functions to work in daemon scripts and
anything else that uses /etc/rc.d/functions by itself.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
|
|
|
|
NET_PROFILES that use the same INTERFACE. They will be started one at a time, and the first successful one will be kept.
|
|
|
|
|
|
commented out the ldconfig call at startup, added support for unicode console maps, added a hotplug_ifup() function rc.d/network for hotplug's net.agent to use
|
|
|
|
|
|
|
|
Fixed initscripts (again)
|
|
|
|
|
|
|
|
|
|
|