summaryrefslogtreecommitdiff
path: root/rc.single
AgeCommit message (Collapse)Author
2009-08-26Make the hook-system a bit more usableThomas Bächler
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
2009-08-25Implement a hook-system that allows to add custom code to the initscripts at ↵Thomas Bächler
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
2009-08-24Remove support for static filesystem and make code in rc.single look like ↵Thomas Bächler
the code in rc.sysinit/rc.shutdown udev has been a dependency of initscripts for a long time, the system won't work without it anyway. Thus remove the "Using static filesystem" message which does nothing anyway and always try to start udevd At the same time, update the killall5 and udev start code in rc.single
2009-08-03Fix array syntax for DAEMONS loopAaron Griffin
Whoops! Noticed-by: Florian Pritz <f-p@gmx.at> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-07-30Shutdown non-rc.conf daemons first at rc.singleGerardo Exequiel Pozzi
To match with commit 7f1bd75ee6aaffddf47e704c46fbab5396b7dd19 for rc.shutdown. Flip the order in which daemons are shutdown. First we scan for all daemons that are NOT in rc.conf and shut those down (order is based on ls, so it is dependent on LC_COLLATE). Afterwards, we shut down all daemons in rc.conf, in order. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-06-07Fix array count/walk in rc.shutdown and rc.single, see #13263Thomas Bächler
2009-06-07We always mount /sys, thus remove a superfluous check for /sys/block. Also ↵Thomas Bächler
fixes #14437
2009-06-07Make the daemon shutdown in rc.single consistent with rc.shutdown, see #12978Thomas Bächler
2008-09-18Respawn udev properly when running 'init s'. Fixes #97392008.09-1Thomas Bächler
2008-05-22Remove source_functions in favor of always sourcing the dirAaron Griffin
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>
2008-03-09More full-path fixesRoman Kyrylych
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-08Use full path to binaries everywhereRoman Kyrylych
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2007-11-28Source /etc/rc.d/functions.d/ for additional initscript functionsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-18'upgpkg: trying to fix #6237,7554,7165,7641,5740'Tobias Powalowski
2006-12-16rc.sysinit, rc.shutdown:Thomas Bächler
- Code cleanup - Added "verbose" commandline option for debugging - Fixed #5968 - Fixed #4648
2006-06-07'upgpkg: removed the rest of 2.4 kernel'Tobias Powalowski
2006-03-27fix for #4296Judd Vinet
2005-09-15modified netcfg/network scripts -- you can list multiple entries in ↵Judd Vinet
NET_PROFILES that use the same INTERFACE. They will be started one at a time, and the first successful one will be kept.
2005-06-30added new netcfg stuff for roaming network profilesJudd Vinet
2005-03-11added support for backgrounding daemons at startup with a '@' prefix, ↵Judd Vinet
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
2005-01-02fixed a typo in the rc.conf comments0.7Judd Vinet
2004-11-30fixed the missing /dev/initctl problem with udev in runlevel 1Judd Vinet
2004-09-24updated rc.single to pay attention to udev and syslog-ngJudd Vinet
2004-02-19added cleanups by Leif AskelandJudd Vinet
2003-12-21upgpkg: initscripts 0.6Judd Vinet
2003-10-10added color to rc messages and fixed bug #168Judd Vinet
2003-01-07updated rc.single to shutdown daemons correctlyJudd Vinet
2002-03-24Fixed a runlevel bug in initscriptsJudd Vinet
2002-03-11Removed rc.proto, updated rc.singleJudd Vinet
2002-03-04Initial revisionJudd Vinet