William Hubbs
5e01051c4e
Allow init scripts to be executed with a relative path
...
This was a regression that was caused by the fix for
http://bugs.gentoo.org/show_bug.cgi?id=350910 . I am reverting the commit
that we said fixed that bug and re-opening it.
Reported-By: Nathaniel <nathaniel@paust.us
X-Gentoo-Bug: 392457
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=392457
2011-12-11 01:18:08 -06:00
Mike Frysinger
ef1ff1b4f2
make shell math operations style more succulent
...
Convert the style:
var=$((${var} + 1))
to:
: $(( var += 1 ))
The latter is easier to read imo.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-11-19 02:25:36 -05:00
William Hubbs
5b1aaf8cc8
add support for extra_stopped_commands
2011-11-16 13:56:55 -06:00
William Hubbs
0c8bea2152
Improve processing of service directories and conf.d files
...
symbolic links should not be followed in an attempt to work out the name
of the service we are running. Also, @sysconfdir@/conf.d should be tried
as a backup directory for configuration files.
I would like to thank Robin Johnson for his input on this change.
X-Gentoo-Bug: 350910
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=350910
2011-07-31 10:00:48 -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
William Hubbs
16f7e90c6c
clarify documentation for -timeout keyword
2011-04-08 14:08:29 -05:00
Robin H. Johnson
6a0812645a
Update manpage for mention of rc_sys purpose.
...
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
2011-01-05 22:27:35 -08:00
Mike Frysinger
ecf9ef49a7
random spelling fixes
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-01-08 22:02:51 +00:00
Roy Marples
95ee39ab1c
Add support for Linux Containers, fixes #202 .
...
Patch by bug reporter.
2009-11-04 19:21:24 +00:00
Roy Marples
b4104957b1
We should use -feature instead of nofeature.
...
This matches the ifconfig and Gentoo USE flag syntax and is hopefully
easier to read.
Fixes #178 .
2009-07-01 00:07:32 +01:00
Roy Marples
658a220638
Add (c) to Copyright
2009-05-01 15:11:40 +01:00
Roy Marples
f689187966
Add -Z, --dry-run option to show which services we would start/stop
...
without actually doing so.
Fixes #151 .
2009-04-30 23:42:01 +01:00
Roy Marples
94b3057571
Add the noshutdown keyword to special case the shutdown.
2009-04-27 12:04:33 +00:00
Roy Marples
eaa32c75c9
Add the nostop keyword so that we don't stop the network init script by default.
2009-04-26 21:16:05 +00:00
Roy Marples
1efa64cae8
Typo.
2008-12-30 19:08:51 +00:00
Roy Marples
03e8e0cb68
More Typos.
2008-11-04 14:28:51 +00:00
Roy Marples
a72dc1194a
Style.
2008-09-19 11:34:35 +00:00
Roy Marples
dcc4aa131c
Document the limitation of symlinking services outside of the service directory, Gentoo #237263 .
2008-09-19 11:32:24 +00:00
Roy Marples
157db50df7
Fix is_older_than a little better, and make is_newer_than correct.
2008-07-03 13:30:17 +00:00
Roy Marples
587051ec67
Add the ewaitfile function so init scripts can wait until sockts are created, Gentoo #175783 .
2008-06-03 11:57:15 +00:00
Roy Marples
6159a32f39
SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.
2008-03-19 19:57:24 +00:00
Roy Marples
d9ec62b22a
Add rc-service and update all softlevel refs to runlevel.
2008-03-19 17:11:50 +00:00
Roy Marples
6a2cce536e
Document the negation of keywords.
2008-03-04 10:40:31 +00:00
Roy Marples
15cf41e713
Split VPS into VSERVER and OPENVZ
2008-03-03 17:19:56 +00:00
Roy Marples
00aa221b98
Welcome to 2008.
2008-02-22 12:35:58 +00:00
Roy Marples
ad780077d2
Welcome to 2008.
2008-02-22 12:07:34 +00:00
Roy Marples
e1e36b2872
keywords -> keyword
2008-02-19 14:36:22 +00:00
Roy Marples
42bfd7b6dc
Move the shell code to check for RC_SYS to the keywords dependency.
2008-02-19 14:29:20 +00:00
Roy Marples
0364bb2c84
Add the nojail keyword which excludes services marked as such from the dependency tree when in a jail, #bug 22
2008-02-19 14:15:53 +00:00
Roy Marples
b49f779779
Document how to remove dependencies in configuration files.
2008-01-30 14:07:45 +00:00
Roy Marples
51a9c647b9
Allow !net to remove the net provision from dependencies.
2008-01-30 13:37:20 +00:00
Roy Marples
a597686ded
Document yesno, is_older_than and is_newer_than.
2008-01-18 14:17:58 +00:00
Roy Marples
5741ad634d
Add man pages for all librc functions.
2007-12-24 22:03:27 +00:00
Roy Marples
fcb7ab641c
Add a man page for einfo.3
2007-12-24 11:48:33 +00:00
Roy Marples
cbea91cae5
Remove rc-help.sh and replace with a man page for runscript 8.
2007-12-20 17:39:13 +00:00