Commit Graph

23 Commits

Author SHA1 Message Date
Andrew Gregory
5872bf1333 rc-update: improve usage message accuracy and consistency
The old message did not indicate that the runlevel argument was optional
for add and del or that it could be used with show.

Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2013-02-25 14:41:30 -06:00
Mike Frysinger
c7cc685458 rc: fix style around case_RC_COMMON_GETOPT
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-11-19 02:33:11 -05:00
Mike Frysinger
d0bc4f20ad drop useless "All rights reserved" notice
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-29 19:46:31 -04:00
Mike Frysinger
11d8b70d74 rc-update: sort "show" output
X-Gentoo-Bug: 367305
X-Gentoo-Bug-URL: http://bugs.gentoo.org/367305
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-05-28 12:11:37 -04:00
Roy Marples
7271449a0c Fix two leaks. 2010-03-17 20:37:47 +00:00
Roy Marples
6615eb4b68 Add runlevel stacking, #88
This implementation has the limitation that you cannot have a stacked
runlevel and service of the same name in a runlevel.
2009-05-02 12:26:45 +01:00
Roy Marples
658a220638 Add (c) to Copyright 2009-05-01 15:11:40 +01:00
Juan RP
a1e40e9beb Fix parens 2009-04-30 16:45:18 +01:00
Roy Marples
ade85d4bd8 Improve style for KNF 2009-04-23 21:31:22 +00:00
Roy Marples
077b2d3ba8 Report if service is not executable. 2009-02-28 14:12:19 +00:00
Roy Marples
3d37005a3d We now warn about clock skews
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
2009-01-12 23:53:13 +00:00
Roy Marples
26f70a5277 Style 2009-01-10 12:18:00 +00:00
Roy Marples
15d34d0a16 Add license blurb to a few files and append my email to my name. 2008-03-26 17:53:37 +00:00
Roy Marples
cb9da6a262 Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ from queue(3). Refactor code style around the BSD KNF. 2008-03-16 17:00:56 +00:00
Roy Marples
aabf3976db Fix help for rc-update. 2008-02-27 21:19:14 +00:00
Roy Marples
567f8e33f2 Just use the extern applet var. 2008-02-11 20:14:09 +00:00
Roy Marples
fef5d0af59 Constantise as much as possible so that it reduces COW usage. 2008-02-01 19:54:46 +00:00
Roy Marples
38f8eee495 We should not use options for rc-update, as add, delete and such are commands. 2008-01-15 09:50:14 +00:00
Mike Frysinger
6aab712cb4 strip trailing newlines 2008-01-14 05:05:22 +00:00
Roy Marples
abde759d5b Re-indent to a standard tw of 8. 2008-01-11 15:51:40 +00:00
Roy Marples
d22fc0dd93 Allow depend creation again. This doesn't work on GNU make, but does on all others. 2008-01-07 14:20:13 +00:00
Roy Marples
e6c9bdf2a3 Add the missing changes from the recent Makefile updates 2008-01-05 20:43:32 +00:00
Roy Marples
ac21d75300 Add some .mk stubs to impersonate bsk .mk files to make writing our Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though. 2008-01-05 19:25:55 +00:00