- 05 Jun, 2011 2 commits
-
-
Dave Reisner authored
These are run from a context where PATH will be set, so defining absolute paths is unnecessary.
-
Dave Reisner authored
Since we're declaring a PATH anyways, we may as well use it. This gives us immunity against binaries moving around, as in the recent case of iproute2. A few other minor, associated, tweaks to go along with this: * any -x tests are modified to use 'type -P' to resolve the path before checking for execute permission * any pidof checks are stripped of paths as well.
-
- 04 Jun, 2011 6 commits
-
-
Tom Gundersen authored
Conflicts: rc.sysinit Conflict with ip move away from /usr
-
Tom Gundersen authored
The move to iproute2 broke the setup of loopback for users having a separate /usr, as it was not monuted before /usr/bin/ip was called. Together with iprouet2-2.6.38-3, this fixes the problem by using /sbin/ip instead. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Dave Reisner authored
Signed-off-by:
Dave Reisner <d@falconindy.com>
-
Dave Reisner authored
Signed-off-by:
Dave Reisner <d@falconindy.com>
-
Dave Reisner authored
We already have /tmp and /dev/shm as world writeable directories with exec permissions, so it doesn't necessarily make sense to inhibit exec here. There also might be use cases where running one-off programs from /run might make sense. Signed-off-by:
Dave Reisner <d@falconindy.com>
-
Dave Reisner authored
Upstream already supports this via the loglevel= parameter on the kernel cmdline, so we should support using this instead of our own homegrown solution. Signed-off-by:
Dave Reisner <d@falconindy.com>
-
- 02 Jun, 2011 2 commits
-
-
Tom Gundersen authored
This will no longer have any effect with the new udev package. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
This is as part of deprecating net-tools. nisdoaminname has been moved to yp-tools, and the location of the config file has changed. When using ypbind the doaminname is set as part of the rc script. If needed for other purposes a new rc script should be added. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 01 Jun, 2011 3 commits
-
-
Tom Gundersen authored
Commit a3314c76 deleted a bit too much of the comments from rc.conf. This patch restores the comments/example used by netcfg, and clarifies the comments a bit. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
Commit d8796827 introduced a minor bug, this fixes it. We alse add some indentation to avoid future confusion. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
To quote the commit to util-linux: "Reuse the speed the kernel configured on the port. If the setting from kernel is useless (tty returns BREAK character) then the specified baud rate (38400) is used." Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 31 May, 2011 3 commits
-
-
Tom Gundersen authored
Conflicts: rc.d Trivial conflict with dave's eval purge. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Eric Bélanger authored
Signed-off-by:
Eric Bélanger <snowmaniscool@gmail.com> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 30 May, 2011 2 commits
-
-
Tom Gundersen authored
Add comment to note that MOD_AUTOLOAD should always be "yes" and blacklisting is no longer supported in the MODULES array. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
This reverts commit 99d64f57 . We decided not to provide a compatibility layer, but rather require the user to create blacklist files in /etc/modprobe.d manually. Hence, this is no longer needed. The reason was that the compatibliy would not be 1-to-1, so it might be missleading to pretend that it was. Also, most people should not need the blacklisting in the first place. Conflicts: Makefile Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 31 May, 2011 3 commits
-
-
Sébastien Luttringer authored
Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Sébastien Luttringer authored
Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Signed-off-by:
Dave Reisner <d@falconindy.com> Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
- 22 May, 2011 6 commits
-
-
Tom Gundersen authored
-
Sébastien Luttringer authored
This patch adds functionalities of bash completions about running demons Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Dave Reisner authored
Provide large warnings when net-tools functionality is used. Add documentation in rc.conf for the new iproute2 based config. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
seblu: Fix typo, add vim modeline Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Sébastien Luttringer authored
This patch adds sexy features from Auguste Pop bash completion patch. Mainly, detect if a daemon is running and complete accordingly Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Dave Reisner authored
Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 21 May, 2011 4 commits
-
-
Sébastien Luttringer authored
Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Sébastien Luttringer authored
This patch improve coloring in light and transparent term. It uses tput if available or default color code. It remplace \033 by \e. It's a kind of rollback from commit 65f410, because initscripts are now in bash, and argument "\e isn't recongized in all shells" is not an issue anymore. This is not done in locale.sh script which can be sourced by others shell, so we try to be the more compliant as possible Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Sébastien Luttringer authored
We need to do this to allow a correct detection of terminal colors in functions sourced by rc.d scripts Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Sébastien Luttringer authored
With new name of script, vim doesn't reconize correctly file format. We need to set it explicitly. Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
- 19 May, 2011 6 commits
-
-
Gerardo Exequiel Pozzi authored
(me) Update the offsets so can be merged now without any issues and respect the indentation. Implements FS#10536 - [initscripts] internal: save a pid from killall5 All credits to: Kurt J. Bosch Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Gerardo Exequiel Pozzi authored
Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Thomas Bächler authored
Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
eda191cf inadvertently introduced a change so that /tmp was not cleared if it was a mountpoint. This restores the old behaviour. It is strongly adviced to not monut anything but a tmpfs on /tmp. This would avoid the issue. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
udev will read /etc/modprobe.d/*.conf and blacklist all modules that are listed as blacklist <module> We parse rc.conf at boot and generate such a .conf file. It cannot be written to /etc this early, so we save it to /run. A symlink exists in /etc to get the desired functionality. With this patch (and an analogous one in mkinitcpio) load-modules.sh can be removed from the udev package without loss of significant functionality. Setting MOD_AUTOLOAD will then no longer take effect, nor will kernel parameters. Thouhgh, kernel parameters might still affect the initramfs as the implementation is independent. Original-idea-by:
Benjamen Richer <br@waldteufel-online.net> Based-on-patch-by:
David Reisner <d@falconindy.com> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
This was a bug in the original conversion to makefile (installing functions twice, the last time with wrong permissions). Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 12 May, 2011 3 commits
-
-
Tom Gundersen authored
I struggled a bit with finding the simplest way of creating packages, so after asking on irc, I thought I'd add the answer here. This is not really initscripts specific, so could easiy be expanded and put in a wiki. Should work for any package that can be built without also building its deps. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Sébastien Luttringer authored
- print daemon text with C_CLEAR and not C_MAIN - print rc name based on $0 (in case of renaming) Signed-off-by:
Sebastien Luttringer <seblu@seblu.net> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
This did not work if the folder existed already. Rather than overwriting the folder with a symlink, the symlink was placed in the folder. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-