Roy Marples
c9e24a0494
Move status to runscript.sh so init scripts can override it, #159
...
Return 32 if crashed, #163
2009-04-18 00:09:03 +00:00
Roy Marples
d4c71415a9
Add MKOLDNET=yes/no toggle
2009-04-17 23:23:31 +00:00
Roy Marples
ee54bb9372
Using fifos for locking can be error prone.
...
flocks are safer, as we only use tmpfs for our lock files.
I don't know how this works for inactive just yet though ...
2009-04-17 22:55:11 +00:00
Roy Marples
7138c1532c
Typo, thanks to Matthias Schwarzott, #166 .
2009-04-17 09:48:34 +00:00
Roy Marples
6027b0ed7d
Add a new init script - network
...
This simply assigns static addresses and an optional default route.
It's possible to add external commands as well, so to create a bonded interface.
Hopefully we can add a few examples to satisfy most of the old net.lo, which
is no longer installed into boot by default.
2009-04-16 23:47:23 +00:00
Roy Marples
95d954e7b5
Improve utmp handling
2009-04-16 23:39:37 +00:00
Roy Marples
744a8bbb4a
Don't unmount /bin,/sbin,/lib,/libexec in the very silly cases where they are not on /
2009-04-16 23:34:38 +00:00
Roy Marples
ace0b9653b
Avoid needless forking, #165
...
Thanks to Natanael Copa.
2009-04-16 23:23:21 +00:00
Roy Marples
966ecb24da
Add net dependency
2009-04-16 21:02:46 +00:00
Roy Marples
cba9f12715
Simplfy rm matching pattern, thanks to cypherpunks@mailinator.com
2009-04-12 12:59:00 +00:00
Roy Marples
dea9e11a69
When logging, stdout isn't always a tty, which is the case for VPS
...
systems, Thanks to mwrobel - fixes #106 .
2009-04-02 23:55:19 +00:00
Roy Marples
0b12faed7f
We should abort boot on some errors.
2009-03-16 21:41:23 +00:00
Roy Marples
34fbf3db2f
Add scripts for dhcpcd and wpa_supplicant.
2009-03-05 20:41:07 +00:00
Roy Marples
132dfd7b1e
Typo, thanks to Polynomial-C
2009-03-05 00:41:44 +00:00
Roy Marples
077b2d3ba8
Report if service is not executable.
2009-02-28 14:12:19 +00:00
Roy Marples
907ca8a89f
Set errno when service does not exist better.
2009-02-28 14:12:03 +00:00
Roy Marples
f38ef00939
Fix unit test.
2009-02-23 10:43:24 +00:00
Roy Marples
66cd081301
Change wipe_tmp_dirs to clean_tmp_dirs so user understands meaning better, #153
2009-02-23 09:36:48 +00:00
Roy Marples
749938d439
Style.
2009-02-23 09:35:57 +00:00
Roy Marples
70d8c5beda
Typo, #150
...
Thanks to betelgeuse
2009-02-13 12:52:29 +00:00
Roy Marples
b60f437b52
Fix the number of terminals to operate on.
...
Thanks to Dimitrios Christidis <chrjim@gmail.com>
2009-02-13 12:24:32 +00:00
Roy Marples
d6d2635c51
root should respect inittab, #148 .
2009-02-12 18:12:57 +00:00
Roy Marples
6cc68e21cf
Fix return value for tests.
2009-02-12 10:43:30 +00:00
Roy Marples
9f3cf59818
hostid does not need root to run
2009-02-11 17:42:14 +00:00
Roy Marples
7a628e1db7
Release 0.4.3
2009-02-11 06:54:58 +00:00
Roy Marples
069590d97f
Fix unmask option, thanks to douglas@openplans.org, #146
2009-02-10 23:11:17 +00:00
Roy Marples
3fc17f5966
Store the file skewed against.
2009-02-10 15:25:28 +00:00
Roy Marples
522ab21fbf
Only create the reboot file if rebooting.
2009-02-10 15:16:25 +00:00
Roy Marples
3d7b56f2e2
Create /reboot if running inside OpenVZ, #138 .
...
This should be fine as vpsreboot should only restart a stopped container.
2009-02-10 15:06:48 +00:00
Roy Marples
6bb44be2a3
We should always mount $RC_SVCDIR unless in a vserver or it's already mounted.
2009-01-29 13:38:15 +00:00
Roy Marples
415fe87d8c
Clean up some compiler warnings.
2009-01-29 13:29:04 +00:00
Roy Marples
4f163f9b9a
Allow wpa_cli_$IFACE to too send args to wpa_cli.
2009-01-21 09:25:34 +00:00
Roy Marples
417a817d25
noinit makes more sense than noinitd
2009-01-18 20:02:50 +00:00
Roy Marples
30a7a3a9bf
Fix locale with svnversion, #140 thanks to Matthias Schwarzott.
2009-01-14 14:32:56 +00:00
Roy Marples
5208a1de29
yes should be YES
2009-01-13 11:04:37 +00:00
Roy Marples
abcc4c5c72
Don't allow SYSVINIT parameters through anymore.
...
RC_REBOOT is now yes when rebooting.
Document the special reboot runlevel.
2009-01-13 11:02:00 +00:00
Roy Marples
fcf1cce549
rc_newer/older_than only report file if time_t is a pointer, so it
...
should take precedence in the argument list.
2009-01-13 09:11:31 +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
2243c01390
Add snapshot and snap targets
2009-01-12 23:12:06 +00:00
Roy Marples
a52472c3c3
Fix ordering, #139 thanks to Matthias.
2009-01-12 10:24:47 +00:00
Roy Marples
f23822e082
Copyright
2009-01-12 10:24:00 +00:00
Roy Marples
8a9a2d5fe9
Use snprintf instead of strlcpy to save on size if not available.
2009-01-12 08:31:03 +00:00
Roy Marples
a33554ab18
Copyright
2009-01-11 17:17:04 +00:00
Roy Marples
baf0ce64f5
Ensure that $HOME and $USER are always set, #139
2009-01-11 17:09:13 +00:00
Roy Marples
26f70a5277
Style
2009-01-10 12:18:00 +00:00
Roy Marples
36c53e7551
Keyword novserver, #137 .
2009-01-06 16:25:33 +00:00
Roy Marples
5ca3345534
Release openrc-0.4.2
2009-01-05 20:16:50 +00:00
Roy Marples
0298e4ffa0
Remove leading and trailing space on the ctrl_interface line.
2009-01-05 09:37:38 +00:00
Roy Marples
a063035b37
Make _SVNVER_SH more readable.
2009-01-02 22:51:47 +00:00
Roy Marples
213cef1739
Fix version for releases.
2009-01-02 16:48:42 +00:00