Commit Graph

52 Commits

Author SHA1 Message Date
Roy Marples
e1e36b2872 keywords -> keyword 2008-02-19 14:36:22 +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
5e470afb52 Ignore resolvconf error messages if the interface does not exist. 2008-02-11 20:04:15 +00:00
Roy Marples
0c75e888fc Allow rc_need to work with net scripts, and allow for loopback also. 2008-01-30 13:20:47 +00:00
Roy Marples
4f6e778758 Only allow .sh files to be used as net modules. 2008-01-29 15:41:10 +00:00
Roy Marples
18da799040 Allow things after the /32 for host routes. 2008-01-15 12:13:42 +00:00
Roy Marples
8ef2bf78f7 Don't print an extra eend on failure. 2008-01-11 17:41:19 +00:00
Roy Marples
fec312d448 Update copyrights, my email and license. 2008-01-11 15:31:10 +00:00
Roy Marples
3bf49a9bd1 Adopt a more C style for scripts and remove vim settings. 2008-01-11 12:13:46 +00:00
Roy Marples
1f4422c72f Remove full license text from shell cripts. 2008-01-11 11:45:59 +00:00
Roy Marples
acbaacb2c1 dhcpcd could be anywhere, so allow this. 2008-01-10 23:23:39 +00:00
Roy Marples
6244bcbe84 massage netmask to cidr for buggy shells. 2008-01-10 18:11:02 +00:00
Roy Marples
da4217fec8 Add net config's to have their own depend function per interface. 2008-01-06 13:06:56 +00:00
Roy Marples
fadee8e656 Move _shell_var shell function to shell_var C applet 2008-01-02 15:38:37 +00:00
Roy Marples
a273f8df55 Fix the adding of default routes 2007-12-31 09:28:53 +00:00
Roy Marples
b6aa56ce14 Fix metric_$IFVAR 2007-12-31 09:28:34 +00:00
Roy Marples
9f2403dffa Remove Gentoo copyright from all files that I know I have written 2007-12-14 14:12:38 +00:00
Roy Marples
ba3248e6d2 Preserve IFS correctly 2007-12-04 14:18:41 +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
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
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
8a328b7408 Allow whitespace in routing commands, Gentoo bug #200458. 2007-11-28 10:04:15 +00:00
Roy Marples
49edf58fc1 Don't rely on sed being available when calculating deps 2007-11-26 09:56:22 +00:00
Roy Marples
a1b9dabf4e Use yesno for more robustness 2007-11-22 13:37:24 +00:00
Roy Marples
09c5e5d415 Use yesno for more robustness 2007-11-22 13:28:14 +00:00
Roy Marples
0c25b359de Allow bash arrays to be flattened to make some configs easier. 2007-11-14 18:23:59 +00:00
Roy Marples
39227ede1d relicense as 2-clause BSD, with the kind permission of Gentoo 2007-11-14 15:22:04 +00:00
Roy Marples
388f3ab9c5 Fix up display for tab delimited foo 2007-11-02 17:03:29 +00:00
Roy Marples
80124a050c Work cleanly with bridges on kernels without TCP, #197791. 2007-11-01 22:25:53 +00:00
Roy Marples
be13c0018b Fix fallback, #197788. 2007-11-01 18:15:30 +00:00
Roy Marples
7d2c240c25 Embed newlines in __IFS to save our identing 2007-10-30 11:37:49 +00:00
Roy Marples
e372729b8c Network config arrays are now split by embedded new lines instead of being evaled into space separated values. This makes it easier to read, maintain and document as discussed on gentoo-dev. 2007-10-29 09:45:49 +00:00
Roy Marples
b894cdb738 net.sh now checks to see if root is net mounted if no predown function
exists, #194074.
2007-09-28 12:46:59 +00:00
Roy Marples
47f21d06a0 Fix fallback configurations 2007-09-17 21:38:58 +00:00
Roy Marples
fac4de2b46 Portability 2007-09-17 20:59:55 +00:00
Roy Marples
356c41f77c Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution. 2007-07-11 12:06:37 +00:00
Roy Marples
05201b514b init scripts and their extra options can now have descriptions, #184327. 2007-07-10 19:09:41 +00:00
Roy Marples
0234605bf4 Up the interface after preup incase preup brings it down 2007-07-04 14:21:24 +00:00
Roy Marples
49347d6f77 Be more resilient when the nettree is invalid 2007-05-18 20:09:10 +00:00
Roy Marples
d599a40680 Correct tabs 2007-05-02 11:04:52 +00:00
Roy Marples
82361c0feb Don't delete addresses for PPP interfaces, #176764. 2007-05-02 10:59:34 +00:00
Roy Marples
d658c2dc6d Fix carrier_timeout 2007-04-30 13:17:28 +00:00
Roy Marples
f05ac25185 Fix bridge some more, remove superflous warning from vewarn and error when no interface correctly 2007-04-19 06:46:29 +00:00
Roy Marples
eabcb48f71 netmask -> CIDR is worked out correctly #174341. 2007-04-13 10:30:57 +00:00
Roy Marples
64c4d3875d Move carrier detection back into net.sh. Reserve a new hook numbers 2007-04-11 10:40:53 +00:00
Roy Marples
0c98067d57 Misc network fixes so we work on my stable server. Splash plugin removed as splashtuils-1.4 now ships with its own. 2007-04-10 10:33:44 +00:00