Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-05-16 | rc: fix thinko in applet collapse | Mike Frysinger | |
We want to lookup the service based on the applet name. Reported-by: Christian Ruppert <idl0r@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2012-05-06 | rc: collapse the applet if statements into a single array walk | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2012-04-26 | Disable some questionable lines | Christian Ruppert | |
Caused by bug 412589 I was looking at the do_mark_service() function and quickly found that the segfault is caused by a strlen() call against a NULL pointer. I also noticed it's using "/exclusive/%s.%s" so svcname.pid, all other functions are just using the svcname.. So it seems that svcname.pid was/is never used and thus not necessary at all. In relation to the above, the if statement in the do_mark_service() function ("if (ok && svcname && strcmp(svcname, service) == 0) {") needs to be fixed/improved as svcname and service are almost always equal, see my comment in the function for further details. Signed-off-by: Christian Ruppert <idl0r@gentoo.org> Reported-by: Patrick McLean <chutzpah@gentoo.org> X-Gentoo-Bug: 412589 X-Gentoo-Bug-URL: https://bugs.gentoo.org/412589 | |||
2012-04-24 | Remove duplicate getenv("RC_SVCNAME") call | Christian Ruppert | |
2011-06-29 | drop useless "All rights reserved" notice | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-02-16 | new implementation of applet option | William Hubbs | |
This reworks the implementation of the --applet option so that it is processed in run_applets() and does not require two calls to the getopts_long() function. It is based on code by Robin Johnson and Chris Richards. X-Gentoo-Bug: 351712 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=351712 | |||
2011-01-17 | more whitespace cleanup | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2011-01-17 | Clean up all trailing whitespace in src/. | Robin H. Johnson | |
2010-01-08 | random spelling fixes | Mike Frysinger | |
Signed-off-by: Mike Frysinger <vapier@gentoo.org> | |||
2009-10-13 | Add new utility and init script swclock that sets the system time based on | Roy Marples | |
the mtime of a file. It saves the shutdown time to this file also. This is handy for systems without a working RTC chip. Based on an idea by Michael A. Smith <michael@smith-li.com>. Fixes Gentoo #272073. | |||
2009-05-01 | Add (c) to Copyright | Roy Marples | |
2009-04-23 | Improve style for KNF | Roy Marples | |
2009-04-18 | Move status to runscript.sh so init scripts can override it, #159 | Roy Marples | |
Return 32 if crashed, #163 | |||
2009-01-12 | We now warn about clock skews | Roy Marples | |
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 | |||
2008-10-10 | Remove coldplug and just have hotplug which is a list of allowed/disallowed ↵ | Roy Marples | |
services. Makes things much easier. | |||
2008-10-08 | Clean up warnings regarding printf. | Roy Marples | |
2008-09-18 | Clean up some compile warnings. | Roy Marples | |
2008-07-27 | Attempt to make s-s-d simpler by not enforcing the need for a full path and ↵ | Roy Marples | |
maybe working better with interpreted scripts. | |||
2008-07-03 | Fix is_older_than a little better, and make is_newer_than correct. | Roy Marples | |
2008-07-03 | Add older_than function to complement newer_than function. Also make the ↵ | Roy Marples | |
userland instance reversed to be compatable with current baselayout, which truely does suck. | |||
2008-06-04 | Include time headers for ewaitfile. | Roy Marples | |
2008-06-03 | Add the ewaitfile function so init scripts can wait until sockts are ↵ | Roy Marples | |
created, Gentoo #175783. | |||
2008-04-17 | Cast to unsigned char for ctype calls. | Roy Marples | |
2008-04-06 | p could be null here. | Roy Marples | |
2008-03-26 | Add license blurb to a few files and append my email to my name. | Roy Marples | |
2008-03-25 | Fix exclusive removal. | Roy Marples | |
2008-03-21 | Add --list to rc-service to list all available services. | Roy Marples | |
2008-03-19 | Just warn about the incorrect service. Let the right service be more ↵ | Roy Marples | |
explanitory about missing options. | |||
2008-03-19 | Give a better error message when no service specified. | Roy Marples | |
2008-03-19 | Report wrong service correctly. | Roy Marples | |
2008-03-19 | SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat. | Roy Marples | |
2008-03-19 | Add rc-service and update all softlevel refs to runlevel. | Roy Marples | |
2008-03-16 | Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵ | Roy Marples | |
from queue(3). Refactor code style around the BSD KNF. | |||
2008-02-23 | Now that s-s-d accepts >1 argument for stopping a daemon on match we need to ↵ | Roy Marples | |
store all arguments used incase a service started the same daemon more than once with different paramters. | |||
2008-01-28 | Fix service_started_daemon, bug #11 | Roy Marples | |
2008-01-22 | Quiet some more lint warnings. | Roy Marples | |
2008-01-21 | Checking first char for null is more efficient than strlen. | Roy Marples | |
2008-01-21 | should not produce a red star | Roy Marples | |
2008-01-14 | Fix shell_var as reported by lamusic. | Roy Marples | |
2008-01-14 | Fix is_older_than. | Roy Marples | |
2008-01-14 | Put the applets into rc-applet.c so that rc.c is easier to manage. | Roy Marples | |