9894669742
Fix help text, #75.
Roy Marples
2008-05-12 08:34:42 +00:00
b732df31ef
Don't report fstab passno of 0 when using greater or less than, #76.
Roy Marples
2008-05-12 08:32:19 +00:00
762dc3d197
Work with dhcpcd-4 style options.
Roy Marples
2008-05-10 12:29:49 +00:00
30fe99dead
openrc-0.2.4
Roy Marples
2008-05-10 12:01:17 +00:00
2d75eb7976
netmount may use openvpn.
Roy Marples
2008-05-10 11:09:52 +00:00
3663cf1e2a
Only launch single user when RUNLEVEL == S, #74.
Roy Marples
2008-05-10 10:04:34 +00:00
766ec96e3d
Add ifdown_eth0=NO so that the interface stays up for WakeOnLan, Gentoo #220875
Roy Marples
2008-05-09 10:29:06 +00:00
a854fe6d61
Simplify the wait code.
Roy Marples
2008-05-07 09:47:07 +00:00
619b0b4f37
Fix the EINTR check for waitpid, Gentoo #219929.
Roy Marples
2008-05-06 21:53:21 +00:00
c8248d05a0
Ensure that make dep ordering is correct for install.
Roy Marples
2008-05-06 19:52:30 +00:00
5ae702339e
We don't need to handle SIGWINCH in sysinit, so this should fix loading a framebuffer module in init.sh (Gentoo #219929. Ideally someone should tell me why this is happening and if there is a better fix.
Roy Marples
2008-05-06 16:21:16 +00:00
d384502e57
There could be a space between #! and /sbin/runscript, Gentoo #218001.
Roy Marples
2008-05-01 15:18:34 +00:00
bdaca0baf5
Busybox find now works with -exec correctly, so remove our nasty hack.
Roy Marples
2008-04-30 16:44:29 +00:00
5188fd2592
Wups, test compiles before commiting :)
Roy Marples
2008-04-30 16:33:54 +00:00
5b800030f1
Remove redundant checking of /proc/pid/exe
Roy Marples
2008-04-30 16:26:05 +00:00
208443fa0e
Save a few bytes and make it easier to read.
Roy Marples
2008-04-30 15:26:29 +00:00
a818eebf7b
No need to init this.
Roy Marples
2008-04-30 12:26:38 +00:00
10910876d1
Make the function a little smaller.
Roy Marples
2008-04-30 10:55:42 +00:00
35b4978152
Style
Roy Marples
2008-04-30 10:31:06 +00:00
cedd81801a
We should use correct iproute2 commands and fix busybox as it's iproute2 implementation is a little broken.
Roy Marples
2008-04-30 09:18:20 +00:00
e273b4e08e
Fix another leak.
Roy Marples
2008-04-29 11:08:02 +00:00
50cff8ebc8
Tweak the last commit and fix a valgrind error.
Roy Marples
2008-04-29 10:49:50 +00:00
aec83494d6
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-04-29 10:26:17 +00:00
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.
Roy Marples
2008-04-29 10:25:45 +00:00
5a59542629
Fix syscons for setting the font correctly.
Roy Marples
2008-04-29 08:00:50 +00:00
52711bdca7
Release openrc-0.2.3
Roy Marples
2008-04-28 18:39:51 +00:00
53902cefb8
Add rc_program function which uses fork and signal masking to try and resolve the waitpid issue, Gentoo #219179.
Roy Marples
2008-04-28 16:04:16 +00:00
75f991068d
Fix multi platform a little.
Roy Marples
2008-04-28 12:48:20 +00:00
e499e58310
Don't re-start or re-stop failed services if runlevel is changing.
Roy Marples
2008-04-27 21:04:37 +00:00
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
Roy Marples
2008-04-26 19:32:28 +00:00
3c2b93fc9c
Check we have a list before running depends.
Roy Marples
2008-04-26 14:59:07 +00:00
b5d829789f
Check we have a list before running depends.
Roy Marples
2008-04-26 14:57:39 +00:00
1e3442f95d
Work with aliases on NetBSD.
Roy Marples
2008-04-23 13:17:13 +00:00
2bda1871a1
When fsck_passno is set, show this so output is clearer when fsck is multiplexed, Gentoo #218141.
Roy Marples
2008-04-22 13:46:53 +00:00
d3b111bd58
Our init scripts normally output context in [ .. ]
Roy Marples
2008-04-22 08:12:26 +00:00
dbea63b76d
Fix logic for templates.
Roy Marples
2008-04-21 21:34:52 +00:00
6a5287dbb5
Typo
Roy Marples
2008-04-21 19:26:56 +00:00
df8eeba2fb
Punt is_function in favour of POSIX shell builtin command, thanks to Harald van Dijk for the idea.
Roy Marples
2008-04-21 17:32:17 +00:00
54fce42c6f
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-04-21 13:07:04 +00:00
54d7aa39dd
If we don't have permission to inspect the pidfile, don't report crashed. Gentoo #218028.
Roy Marples
2008-04-21 10:56:28 +00:00
dc5d63aa97
Add RC_TMPDIR so that there's a writeable location during boot.
Roy Marples
2008-04-21 10:29:29 +00:00
bab5d7767d
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-04-21 10:26:40 +00:00
799686e40d
Fix force_preferred, #60.
Roy Marples
2008-04-20 14:24:35 +00:00
d83ae59cca
Add help for mountargs, #63
Roy Marples
2008-04-19 17:19:59 +00:00
18b4108755
add support for parsing newer ifconfig output
Mike Frysinger
2008-04-19 07:22:30 +00:00
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.
Roy Marples
2008-04-18 23:00:43 +00:00
f0aacec02e
Cast to unsigned char for ctype calls.
Roy Marples
2008-04-17 10:19:58 +00:00
57e1dd7389
Fix rc-status some more.
Roy Marples
2008-04-17 00:25:08 +00:00
c89b3763fb
Respect shutdown -F on Linux to force fsck, #59
Roy Marples
2008-04-17 00:09:34 +00:00
425abe40c5
Only report unassigned services when there are any, Gentoo #218005.
Roy Marples
2008-04-16 19:47:19 +00:00
725b9dc89c
Use qlen instead of txqueuelen so we work with busybox iproute2, Gentoo #217948
Roy Marples
2008-04-16 15:23:57 +00:00
22d650c450
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-04-16 15:02:19 +00:00
809ac86c69
We should only check dependencies in files.
Roy Marples
2008-04-16 15:01:52 +00:00
b3310e8e10
Fix rebooting for OpenVZ systems.
Roy Marples
2008-04-15 21:50:08 +00:00
29369c44c1
Add help text for rc-service --resole.
Roy Marples
2008-04-15 16:16:59 +00:00
292fe3a568
Release 0.2.2
Roy Marples
2008-04-15 16:09:02 +00:00
99d5046a56
Don't assume that we have a list returned.
Roy Marples
2008-04-10 08:49:05 +00:00
0e38dcc4d2
By default, rc-status now shows the statuses of the services in the current runlevel and any unassigned non stopped services, #52.
Roy Marples
2008-04-09 22:56:32 +00:00
9176b77c23
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-04-09 19:02:41 +00:00
fad61a7c4b
Fix windowkeys.
Roy Marples
2008-04-09 12:24:34 +00:00
0e114abf5d
Respect shutdown's fastboot.
Roy Marples
2008-04-09 00:21:49 +00:00
bc369085c7
More ltsp fixes.
Roy Marples
2008-04-09 00:06:50 +00:00
6d8b36e09d
Fix netmout for nfs
Roy Marples
2008-04-08 23:25:48 +00:00
8759735711
Give an error when running zap as a generic user.
Roy Marples
2008-04-08 22:57:42 +00:00
034b9b7a12
Add a silly rc_runlevel function to appease SpanKY :)
Roy Marples
2008-04-08 16:01:40 +00:00
e82435c2f4
rc_runlevel is now the preferred kernel commandline option for choosing default runlevel.
Roy Marples
2008-04-08 15:59:56 +00:00
71dd280656
Fix rc-service --help output.
Roy Marples
2008-04-07 11:48:32 +00:00
594d98eddc
Tests now work on NetBSD.
Roy Marples
2008-04-07 09:37:14 +00:00
dcdfdb442f
Some systems are only detectable after /proc is mounted, so re-test if unknown.
Roy Marples
2008-04-06 20:06:07 +00:00
143239e143
Increase pidstr size to 10 chars.
Roy Marples
2008-04-06 13:24:10 +00:00
5d38d4d6e9
p could be null here.
Roy Marples
2008-04-06 13:21:42 +00:00
c18c4fc4cc
Check list existance before iterating, Gentoo #216091.
Roy Marples
2008-04-04 16:31:56 +00:00
5ebe7f1349
Push out 0.2.1 to solve a few issues.
Roy Marples
2008-04-02 16:35:28 +00:00
6a227d0c45
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-04-02 16:35:02 +00:00
403abe73de
Fix vlans, #49.
Roy Marples
2008-04-01 21:34:31 +00:00
be82e950d7
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-03-31 16:31:43 +00:00
3ca8387966
Document SSD_NICELEVEL.
Roy Marples
2008-03-29 09:37:59 +00:00
f5a9b42215
Restore noserver and noopenvz to sysctl.
Roy Marples
2008-03-28 19:05:26 +00:00
d370918f0c
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-03-28 16:21:59 +00:00
e995404e3b
Add XEN support to NetBSD.
Roy Marples
2008-03-28 16:10:31 +00:00
caa4704ce6
Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc
Roy Marples
2008-03-28 16:05:11 +00:00
17d28fde42
Support XEN on NetBSD
Roy Marples
2008-03-28 16:04:48 +00:00
b418f2e471
Allow our headers to be included by C++ programs easily.
Roy Marples
2008-03-28 11:06:47 +00:00
ee4e861796
Put some dir locations in rc.h so that 3rd party apps can become awware of them.
Roy Marples
2008-03-28 10:46:12 +00:00
11e33e81c8
Remove rc_service_start/stop from librc as they block and unmask signals. The application may not wish this behaviour and should fork/exec the service itself.
Roy Marples
2008-03-28 08:42:05 +00:00
5e8ed2aeca
Tweak install of runlevels.
Roy Marples
2008-03-27 19:55:03 +00:00
742310744d
We would sanitize $RC_LIBDIR/sbin as well. If it's really needed then rc-functions.sh will add it back.
Roy Marples
2008-03-27 18:34:12 +00:00
4e9b58b07d
Sanitize the write rc dir.
Roy Marples
2008-03-27 17:09:18 +00:00
c564043f86
No need for the extra rc.
Roy Marples
2008-03-27 16:59:33 +00:00
b3d1182a2f
Fix mulitlib issues.
Roy Marples
2008-03-27 16:53:22 +00:00
f6cb321f9f
NetBSD doesn't work with this powerd.
Roy Marples
2008-03-27 14:56:50 +00:00
f85c6ca84c
Make our messages similar
Roy Marples
2008-03-27 14:03:37 +00:00
d09f9f47eb
Split terminal encoding out.
Roy Marples
2008-03-27 13:49:49 +00:00
b271ac5af5
Fix install of rc and rc.shutdown on the BSD's.
Roy Marples
2008-03-27 09:33:20 +00:00
fccff6a4ed
Allow multiple ntp_servers without error, #47
Roy Marples
2008-03-26 22:39:27 +00:00
a1d555bdc4
Release 0.2
Roy Marples
2008-03-26 19:58:43 +00:00
ecba32d1ca
Install ifwatchd for NetBSD.
Roy Marples
2008-03-26 19:39:43 +00:00
a718975e08
Add license blurb to a few files and append my email to my name.
Roy Marples
2008-03-26 17:55:35 +00:00
15d34d0a16
Add license blurb to a few files and append my email to my name.
Roy Marples
2008-03-26 17:53:37 +00:00
864e17fabc
Ignore more files.
Roy Marples
2008-03-26 17:34:23 +00:00