aboutsummaryrefslogtreecommitdiff
path: root/rc.single
AgeCommit message (Collapse)AuthorFiles
2009-08-26Make the hook-system a bit more usableThomas Bächler1
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ächler1
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ächler1
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 Griffin1
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 Pozzi1
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ächler1
2009-06-07We always mount /sys, thus remove a superfluous check for /sys/block. Also ↵Thomas Bächler1
fixes #14437
2009-06-07Make the daemon shutdown in rc.single consistent with rc.shutdown, see #12978Thomas Bächler1
2008-09-18Respawn udev properly when running 'init s'. Fixes #97392008.09-1Thomas Bächler1
2008-05-22Remove source_functions in favor of always sourcing the dirAaron Griffin1
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 Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2008-03-08Use full path to binaries everywhereRoman Kyrylych1
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
2007-11-28Source /etc/rc.d/functions.d/ for additional initscript functionsAaron Griffin1
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2007-10-18'upgpkg: trying to fix #6237,7554,7165,7641,5740'Tobias Powalowski1
2006-12-16rc.sysinit, rc.shutdown:Thomas Bächler1
- Code cleanup - Added "verbose" commandline option for debugging - Fixed #5968 - Fixed #4648
2006-06-07'upgpkg: removed the rest of 2.4 kernel'Tobias Powalowski1
2006-03-27fix for #4296Judd Vinet1
2005-09-15modified netcfg/network scripts -- you can list multiple entries in ↵Judd Vinet1
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 Vinet1
2005-03-11added support for backgrounding daemons at startup with a '@' prefix, ↵Judd Vinet1
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 Vinet1
2004-11-30fixed the missing /dev/initctl problem with udev in runlevel 1Judd Vinet1
2004-09-24updated rc.single to pay attention to udev and syslog-ngJudd Vinet1
2004-02-19added cleanups by Leif AskelandJudd Vinet1
2003-12-21upgpkg: initscripts 0.6Judd Vinet1
2003-10-10added color to rc messages and fixed bug #168Judd Vinet1
2003-01-07updated rc.single to shutdown daemons correctlyJudd Vinet1
2002-03-24Fixed a runlevel bug in initscriptsJudd Vinet1
2002-03-11Removed rc.proto, updated rc.singleJudd Vinet1
2002-03-04Initial revisionJudd Vinet1