Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | librc: fix off-by-one bug | Natanael Copa | 2013-10-04 |
| | | | | | | | We need allocate space for both the added leading '-' and the trailing '\0'. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> | ||
* | set the RC_UNAME environment variable when updating dependencies | William Hubbs | 2012-10-04 |
| | | | | | | | This is needed because the network script uses this variable in the depend() function but it wasn't exported when this was run. Reported-by: <aaly90@gmail.com> | ||
* | Reduce overhead by leaving rc_deptree_update_needed() as soon as possible | Christian Ruppert | 2012-04-26 |
| | | | | | | There's no need to check any further if we're returning true anyway. Signed-off-by: Christian Ruppert <idl0r@gentoo.org> | ||
* | drop useless "All rights reserved" notice | Mike Frysinger | 2011-06-29 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
* | Use RC_CONF instead of the hardcoded /etc/rc.conf | Christian Ruppert | 2011-06-28 |
| | |||
* | librc: tweak style: foo () -> foo() | Mike Frysinger | 2011-05-28 |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||
* | typo fix | William Hubbs | 2011-04-09 |
| | | | | | X-Gentoo-Bug: 217999 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=217999 | ||
* | Bug #351570: Fix hidden functions visibility for rc_deptree_load_file. | Robin H. Johnson | 2011-01-17 |
| | |||
* | Clean up all trailing whitespace in src/. | Robin H. Johnson | 2011-01-17 |
| | |||
* | Factor out new function rc_deptree_load_file to aid in debugging deptree ↵ | Robin H. Johnson | 2011-01-17 |
| | | | | files from users. Loads from a given filename instead of the hardcoded RC_DEPTREE_CACHE define. | ||
* | Only allow one service to be provided by default. | Roy Marples | 2009-11-14 |
| | | | | Fixes Gentoo #293139. | ||
* | Don't provide ourself, fixes #190 | Roy Marples | 2009-07-20 |
| | |||
* | We should use -feature instead of nofeature. | Roy Marples | 2009-07-01 |
| | | | | | | This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178. | ||
* | Move non compiled libraries from /lib/rc to /libexec/rc | Roy Marples | 2009-05-23 |
| | | | | | | | | OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well. | ||
* | Add (c) to Copyright | Roy Marples | 2009-05-01 |
| | |||
* | Don't start services when their need dependency is broken | Roy Marples | 2009-04-28 |
| | |||
* | Fix return value for tests. | Roy Marples | 2009-02-12 |
| | |||
* | rc_newer/older_than only report file if time_t is a pointer, so it | Roy Marples | 2009-01-13 |
| | | | | | should take precedence in the argument list. | ||
* | We now warn about clock skews | Roy Marples | 2009-01-12 |
| | | | | | | rc-update -u will force a regen of the dep tree rc_newer_than and rc_olderthan now take another two parameters for newest/oldest file and mtime | ||
* | Ignore after dependencies for shutdown when not in the runlevel. | Roy Marples | 2008-11-04 |
| | |||
* | Avoid depends not in the runlevel for sysinit and shutdown. | Roy Marples | 2008-11-03 |
| | |||
* | Add a new shutdown runlevel, Gentoo #224537. | Roy Marples | 2008-11-03 |
| | | | | | | | Split halt.sh into halt, killprocs, romount and savecache services. The reboot runlevel is removed but mapped to shutdown. The halt script should be moved to the sysvinit package. | ||
* | Remove coldplug and just have hotplug which is a list of allowed/disallowed ↵ | Roy Marples | 2008-10-10 |
| | | | | services. Makes things much easier. | ||
* | sysinit is now a real runlevel that handles things like udev, dmesg and | Roy Marples | 2008-10-10 |
| | | | | | | | | | | | mounting various bits in /dev and /sys. init.sh JUST mounts /lib/rc/init.d (and /proc for Linux systems) To make development of this easier we now return an empty RC_STRINGLIST instead of a NULL for empty things. If you don't have a udev init script installed, don't reboot your box OR roll back to an older OpenRC version. | ||
* | Punt STAILQ and just use TAILQ so we're a bit more portable. | Roy Marples | 2008-07-07 |
| | |||
* | Add older_than function to complement newer_than function. Also make the ↵ | Roy Marples | 2008-07-03 |
| | | | | userland instance reversed to be compatable with current baselayout, which truely does suck. | ||
* | fuzzy dependency ordering should be started, starting, stopped whilst ↵ | Roy Marples | 2008-06-10 |
| | | | | checking runlevel, bootlevel, any at each stage. | ||
* | Remove broken before dependencies, Gentoo #224171. | Roy Marples | 2008-06-05 |
| | |||
* | Use addu instead of another loop. | Roy Marples | 2008-06-04 |
| | |||
* | Only add a backreference if it doesn't already exist. | Roy Marples | 2008-06-04 |
| | |||
* | No need to check type twice like this. | Roy Marples | 2008-06-04 |
| | |||
* | Style. | Roy Marples | 2008-06-04 |
| | |||
* | The real fix for the last commit is to uncomment some code - d'oh. | Roy Marples | 2008-05-12 |
| | |||
* | Check we have a list before running depends. | Roy Marples | 2008-04-26 |
| | |||
* | Check we have a list before running depends. | Roy Marples | 2008-04-26 |
| | |||
* | Add RC_TMPDIR so that there's a writeable location during boot. | Roy Marples | 2008-04-21 |
| | |||
* | Cast to unsigned char for ctype calls. | Roy Marples | 2008-04-17 |
| | |||
* | Don't assume that we have a list returned. | Roy Marples | 2008-04-10 |
| | |||
* | Add license blurb to a few files and append my email to my name. | Roy Marples | 2008-03-26 |
| | |||
* | Fix last commit. | Roy Marples | 2008-03-19 |
| | |||
* | Make rc_getline private and save it's buffer so it's sort of like getline ↵ | Roy Marples | 2008-03-17 |
| | | | | from glibc. | ||
* | Punt the rc_strcatpaths function and use snprintf instead to save on ↵ | Roy Marples | 2008-03-17 |
| | | | | expensive malloc calls. | ||
* | Use correct TAILQ_CONCAT macro when not defined. | Roy Marples | 2008-03-16 |
| | |||
* | Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵ | Roy Marples | 2008-03-16 |
| | | | | from queue(3). Refactor code style around the BSD KNF. | ||
* | Don't store empty services. | Roy Marples | 2008-03-04 |
| | |||
* | Introduce LOCAL_PREFIX for a user maintained script location. | Roy Marples | 2008-03-03 |
| | |||
* | Support the use of PREFIX and PKG_PREFIX. | Roy Marples | 2008-02-28 |
| | |||
* | Welcome to 2008. | Roy Marples | 2008-02-22 |
| | |||
* | Don't warn about removed services through use of the nosys keyword. | Roy Marples | 2008-02-19 |
| | |||
* | Fix compile warning, and free removed depinfo's | Roy Marples | 2008-02-19 |
| |