Commit Graph

723 Commits

Author SHA1 Message Date
Roy Marples
39b7394d93 uppercase values 2007-12-09 13:52:03 +00:00
Roy Marples
f71beafa16 uppercase values 2007-12-09 13:50:41 +00:00
Roy Marples
62bbbf7f31 normalise var name 2007-12-09 13:49:43 +00:00
Roy Marples
0df6d640f7 Use yesno more 2007-12-09 13:49:20 +00:00
Roy Marples
2c3c27e251 Mirror the action of rc-update in baselayout-1, with the exception of adding to the currnet runlevel if no runlevel specified. 2007-12-08 12:10:45 +00:00
Roy Marples
9a6cfc0a9b Add termcap support. 2007-12-08 02:50:35 +00:00
Roy Marples
0451576374 whitespace 2007-12-07 14:33:37 +00:00
Roy Marples
2b107a992b Ensure that hostid starts early 2007-12-07 14:32:57 +00:00
Roy Marples
b1569127b4 Just check that ecolor returns a string > 0 2007-12-07 14:32:28 +00:00
Roy Marples
acf425e822 Include time.h on linux 2007-12-07 14:31:51 +00:00
Roy Marples
17585a3c04 Don't be spammy or interactive when we don't output 2007-12-06 11:16:27 +00:00
Roy Marples
d3436344ee Don't exit in functions. 2007-12-06 10:49:11 +00:00
Roy Marples
a178d53202 Move RC_ to EINFO_ for all env vars related to einfo. 2007-12-06 10:48:00 +00:00
Roy Marples
a31c7cc61e These don't need to be exec 2007-12-05 17:49:53 +00:00
Roy Marples
0490a9290a Remove rc_service_wait as runscript.c should do the waiting. rc_deptree_depend now returns the exact depends as listed. This is so we can support a new 'keywords' directive. We can add whatever here, like 'notimeout' which means that an init script doesn't timeout. This removes the hardcoded check on checkfs and checkroot. 2007-12-05 17:48:07 +00:00
Roy Marples
f40f7528be Add a nscd init script 2007-12-05 16:41:54 +00:00
Roy Marples
27067e55e5 Add a newsyslog init script 2007-12-05 16:31:23 +00:00
Roy Marples
0f7cb3293a Add a mixer init script 2007-12-05 16:22:20 +00:00
Roy Marples
4317408027 Add hostid to the boot runlevel 2007-12-05 16:03:05 +00:00
Roy Marples
fa19e8ec4a Change file perms 2007-12-05 15:57:26 +00:00
Roy Marples
b258e0eb52 Add hostid init script, based on the FreeBSD one. 2007-12-05 15:57:17 +00:00
Roy Marples
07e3d69c52 Our default start command should correctly recover on failed re-entrant services 2007-12-04 16:15:32 +00:00
Roy Marples
09f949de5e Remove our reliance on sed and grep 2007-12-04 14:19:47 +00:00
Roy Marples
ba3248e6d2 Preserve IFS correctly 2007-12-04 14:18:41 +00:00
Roy Marples
bb2b8f383f Allow moused to have configs per port 2007-12-04 12:25:12 +00:00
Roy Marples
8cfb8f1333 Always show the 'Waiting for IPv6 addresses' message if we need to wait, and fixup inet6 addresses on FreeBSD-7 2007-12-04 09:55:59 +00:00
Roy Marples
6ce3bf096b Wait for IPv6 addresses to complete, Gentoo bug #169442. 2007-12-03 18:02:57 +00:00
Roy Marples
bf8d8a9be7 rc-help.sh should use standard ecolours vs its internal ideas 2007-12-03 16:16:48 +00:00
Roy Marples
52b6cd1c9b As ecolor does not take a tty, try and guess a valid one. 2007-12-03 16:16:08 +00:00
Roy Marples
82f7dae3e8 Warn about pidfiles not being created. 2007-12-03 13:38:23 +00:00
Roy Marples
7683c5056a fix last stupid error 2007-11-30 09:59:10 +00:00
Roy Marples
a6d8b76876 Ensure that lo0 gets 127.0.0.1/8 with a space separated config 2007-11-30 09:38:01 +00:00
Roy Marples
16ad975b2d Allow services to define which extra commands require the service to be started 2007-11-29 16:23:59 +00:00
Roy Marples
82df7e4584 Use shorthand for loops 2007-11-29 11:23:06 +00:00
Roy Marples
50161bef0e Allow space separated configs to work for CIDR address styles 2007-11-29 11:17:50 +00:00
Roy Marples
f0aa06b586 Fix whitespace in configs 2007-11-29 09:45:57 +00:00
Roy Marples
abc627e4a2 typo 2007-11-29 09:38:19 +00:00
Roy Marples
44fe713062 RC_DEPEND_STRICT -> rc_depend_strict 2007-11-28 17:02:02 +00:00
Roy Marples
f796ad463d Load the tun/tap modules on BSD 2007-11-28 16:12:45 +00:00
Roy Marples
9252492d2f We don't care about update-rc 2007-11-28 15:50:18 +00:00
Roy Marples
ac9279cc0d Massive whitespace cleanup 2007-11-28 15:45:03 +00:00
Roy Marples
444f23e2d1 resolvconf may not be in /sbin 2007-11-28 14:32:24 +00:00
Roy Marples
f434007b98 Add OpenVPN support files 2007-11-28 13:44:30 +00:00
Roy Marples
d651155b61 Sanitize our PATH a bit better, and terminate it correctly in start-stop-daemon. 2007-11-28 13:40:15 +00:00
Roy Marples
8ea741d699 Support required_dirs and required_files. Allow services to mark inactive if using templates and fake commands if in background. 2007-11-28 13:08:25 +00:00
Roy Marples
8df5860848 Use a more generic BSD define. 2007-11-28 10:06:31 +00:00
Roy Marples
97f707db0d FreeBSD-7 and NetBSD support tmpfs, so try and use this first. 2007-11-28 10:06:13 +00:00
Roy Marples
8a328b7408 Allow whitespace in routing commands, Gentoo bug #200458. 2007-11-28 10:04:15 +00:00
Roy Marples
f6033cfb26 git clean before dist, and add some ignore files 2007-11-27 16:13:42 +00:00
Roy Marples
49edf58fc1 Don't rely on sed being available when calculating deps 2007-11-26 09:56:22 +00:00