- 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>
-
- 10 May, 2011 1 commit
-
-
Sébastien Luttringer authored
To avoid conflict with plan9 rc shell we need to rename our rc. Original name come from debian invoke-rc.d, shortened into rc. Signed-off-by:
Sebastien Luttringer <seblu@seblu.net> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 09 May, 2011 1 commit
-
-
Gerardo Exequiel Pozzi authored
Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 07 May, 2011 3 commits
-
-
Tom Gundersen authored
This fixes FS#24115. The persistent net/cd rules will go away soon, but no replacement is in place yet, so we reinstate the copying magic. This partially reverts commit e9b65823 . Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
Some initscripts check the folder /var/run/daemons to see if another daemon is running. They should not do this as this folder is supposed to be internal to initscripts, and use ck_daemon instead. However, we add this workaround to minimize the pain. Should be removed one day. 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>
-
- 30 Apr, 2011 5 commits
-
-
Tom Gundersen authored
Conflicts: rc Trivial conflict with Dave's counting vs summing patch. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Gerardo Exequiel Pozzi authored
Apply same logic like in rc.sysinit (commit c3063d04 ) Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Gerardo Exequiel Pozzi authored
Respect the order documented at udev README and systemd files. Signed-off-by:
Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Ian-Xue Li authored
This fixes FS#23889. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Dave Reisner authored
cc199761 assumes that /etc/rc.d scripts will exit with a value of 0 or 1. Since this can't be guaranteed, clamp the return value to 0 or 1 before adding it to the exit value. Note that a lot of /etc/rc.d scripts don't properly exit with 0 or 1, so this is more of a forward looking change in the hope that these scripts are cleaned up. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 26 Apr, 2011 1 commit
-
-
Cody Maloney authored
/devshm -> /dev/shm Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 25 Apr, 2011 1 commit
-
-
Tom Gundersen authored
As suggested by seblu: - add comment to explain what we unmount and why, and - use /bin/grep rather than grep Also add some more redirects to /dev/null. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
- 24 Apr, 2011 4 commits
-
-
Sébastien Luttringer authored
rc helper now call rc.d scripts in root directory with a clean environment. Chosen vars came from init man page. It allows to launch scripts from the command line, as if they had been launched by init Signed-off-by:
Sebastien Luttringer <seblu@seblu.net>
-
Tom Gundersen authored
No need to ommit the parent process, as it's name will not coincide with udevd. Original-patch-by:
David Reisner <d@falconindy.com> Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Dave Reisner authored
-
Dave Reisner authored
-
- 23 Apr, 2011 2 commits
-
-
Dave Reisner authored
If we're going to use a Makefile for minilogd, we might as well use it for everything. This has some moving pieces: * fix minilogd rule: minilogd.o is a target dep not a build rule * rename adjtime.cron => adjtime * fixup PKGBUILD to account for changes Signed-off-by:
Tom Gundersen <teg@jklm.no>
-
Tom Gundersen authored
This remounts root read-only as early as possible. In FS#23845 we saw an example of what might happen if we boot with root mounted rw and something manages to opens a file read-write on root before we remount read-only. Signed-off-by:
Tom Gundersen <teg@jklm.no>
-