Roy Marples
|
6748c0e04e
|
Allow forcefsck instead of gentoo=forcefsck on the kernel command line.
|
2008-09-22 12:32:35 +00:00 |
|
Roy Marples
|
a3c8706618
|
Allow OpenVZ to mount /sys and device managers, #102
|
2008-08-19 15:27:15 +00:00 |
|
Roy Marples
|
11e4059b05
|
Set the default RC_SVCDIR higher up.
|
2008-06-21 15:31:04 +00:00 |
|
Roy Marples
|
5510451bac
|
We need to replace @LIB@ here.
|
2008-06-21 14:10:59 +00:00 |
|
Roy Marples
|
d384502e57
|
There could be a space between #! and /sbin/runscript, Gentoo #218001.
|
2008-05-01 15:18:34 +00:00 |
|
Roy Marples
|
5ba6f0a628
|
We need to ensure that the init script started is correct, translating symlinks. This has a new rule - multiplexed services must exist in the same dir as the master sript. So we need to ensuret that net.lo(0) is the real script and not a symlink itself. This fixes Gentoo #219526.
|
2008-04-29 10:25:45 +00:00 |
|
Roy Marples
|
b08b6cd91b
|
Always define template start/stop functions so that the real script name isn't hidden when errors are in the real start/stop functions, Gentoo #219179
|
2008-04-26 19:32:28 +00:00 |
|
Roy Marples
|
dbea63b76d
|
Fix logic for templates.
|
2008-04-21 21:34:52 +00:00 |
|
Roy Marples
|
6a5287dbb5
|
Typo
|
2008-04-21 19:26:56 +00:00 |
|
Roy Marples
|
df8eeba2fb
|
Punt is_function in favour of POSIX shell builtin command, thanks to Harald van Dijk for the idea.
|
2008-04-21 17:32:17 +00:00 |
|
Roy Marples
|
e96347523f
|
We should check type output to ensure that we're really calling a shell function and not some badly named binary like stop from boinc, Gentoo #218063.
|
2008-04-18 23:00:43 +00:00 |
|
Roy Marples
|
809ac86c69
|
We should only check dependencies in files.
|
2008-04-16 15:01:52 +00:00 |
|
Roy Marples
|
034b9b7a12
|
Add a silly rc_runlevel function to appease SpanKY :)
|
2008-04-08 16:01:40 +00:00 |
|
Roy Marples
|
594d98eddc
|
Tests now work on NetBSD.
|
2008-04-07 09:37:14 +00:00 |
|
Roy Marples
|
dcdfdb442f
|
Some systems are only detectable after /proc is mounted, so re-test if unknown.
|
2008-04-06 20:06:07 +00:00 |
|
Roy Marples
|
742310744d
|
We would sanitize $RC_LIBDIR/sbin as well. If it's really needed then rc-functions.sh will add it back.
|
2008-03-27 18:34:12 +00:00 |
|
Roy Marples
|
4e9b58b07d
|
Sanitize the write rc dir.
|
2008-03-27 17:09:18 +00:00 |
|
Roy Marples
|
c564043f86
|
No need for the extra rc.
|
2008-03-27 16:59:33 +00:00 |
|
Roy Marples
|
b3d1182a2f
|
Fix mulitlib issues.
|
2008-03-27 16:53:22 +00:00 |
|
Roy Marples
|
864e17fabc
|
Ignore more files.
|
2008-03-26 17:34:23 +00:00 |
|
Roy Marples
|
ac834ddc56
|
Fix linux compile.
|
2008-03-26 14:39:13 +00:00 |
|
Roy Marples
|
833903fc78
|
use $CP and $SED instead of cp and sed
|
2008-03-26 14:27:46 +00:00 |
|
Roy Marples
|
55858eca2e
|
.sh.BSD.in is a better extension.
|
2008-03-26 14:02:59 +00:00 |
|
Roy Marples
|
6af2b20297
|
Split sysctl into Linux and BSD specific files.
|
2008-03-26 09:36:34 +00:00 |
|
Roy Marples
|
5866d829bb
|
Try and fix more prefix stuff.
|
2008-03-25 18:33:45 +00:00 |
|
Roy Marples
|
c807b3a815
|
INITDIR should already be prefixed.
|
2008-03-25 17:19:41 +00:00 |
|
Roy Marples
|
4d6b84290a
|
These now need to be prefixed.
|
2008-03-25 17:17:15 +00:00 |
|
Roy Marples
|
08791ec4a2
|
INITDIR should already be prefixed.
|
2008-03-25 17:11:44 +00:00 |
|
Roy Marples
|
55eb3794fb
|
Rework our folder structure so that we don't have OS specific dirs, making it easier to share init and conf files per OS.
|
2008-03-25 14:06:05 +00:00 |
|
Mike Frysinger
|
486d517674
|
setup a bit of a test framework
|
2008-03-24 07:17:05 +00:00 |
|
Mike Frysinger
|
02e7e1b988
|
dont leak the _e var
|
2008-03-24 05:54:18 +00:00 |
|
Roy Marples
|
4079b4d65d
|
Clean up error display.
|
2008-03-21 11:20:03 +00:00 |
|
Roy Marples
|
eca292e5d9
|
Some OS's block on umount -f, so don't use it.
|
2008-03-21 11:02:02 +00:00 |
|
Roy Marples
|
e47661449a
|
More pathing fixes.
|
2008-03-21 00:30:22 +00:00 |
|
Roy Marples
|
04b0acb010
|
Fix pathing again.
|
2008-03-20 19:57:31 +00:00 |
|
Roy Marples
|
6159a32f39
|
SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.
|
2008-03-19 19:57:24 +00:00 |
|
Roy Marples
|
6d2e1f7add
|
Fix building on Linux.
|
2008-03-19 19:43:08 +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
|
0e6eb0f764
|
Ensure that our path includes packages and local
|
2008-03-19 15:21:42 +00:00 |
|
Roy Marples
|
40e12f6ba0
|
RC_SERVICE now points to the service file, so daemons can recall us directly.
|
2008-03-11 15:00:16 +00:00 |
|
Roy Marples
|
f20099bc33
|
Fix the old RC_USE names.
|
2008-03-10 11:33:39 +00:00 |
|
Roy Marples
|
c4a54605e0
|
Support baselayout-2 uppercase RC_NEED vars, #38.
|
2008-03-08 15:22:29 +00:00 |
|
Roy Marples
|
a689b66023
|
Add tunable SYSCONFDIR
|
2008-03-05 12:27:11 +00:00 |
|
Roy Marples
|
ff162b39ac
|
Don't rely on fuser being present
|
2008-03-04 22:03:41 +00:00 |
|
Roy Marples
|
15cf41e713
|
Split VPS into VSERVER and OPENVZ
|
2008-03-03 17:19:56 +00:00 |
|
Roy Marples
|
7a8e9d4ddb
|
Add a gitignore make target.
|
2008-03-03 13:04:08 +00:00 |
|
Roy Marples
|
61c476e72d
|
Use exlicit make targets, not directory contents.
|
2008-03-03 12:34:51 +00:00 |
|
Roy Marples
|
0aedc02860
|
Introduce LOCAL_PREFIX for a user maintained script location.
|
2008-03-03 10:33:42 +00:00 |
|
Roy Marples
|
dca4034bd5
|
Fix prefixed net.sh
|
2008-03-03 08:47:37 +00:00 |
|
Roy Marples
|
67c5fd6bb8
|
Ensure that our scripts call prefixed runscript.
|
2008-03-02 21:14:01 +00:00 |
|