Commit Graph

49 Commits

Author SHA1 Message Date
762dc3d197 Work with dhcpcd-4 style options. 2008-05-10 12:29:49 +00:00
cedd81801a We should use correct iproute2 commands and fix busybox as it's iproute2 implementation is a little broken. 2008-04-30 09:18:20 +00:00
1e3442f95d Work with aliases on NetBSD. 2008-04-23 13:17:13 +00:00
799686e40d Fix force_preferred, #60. 2008-04-20 14:24:35 +00:00
18b4108755 add support for parsing newer ifconfig output
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2008-04-19 07:22:30 +00:00
725b9dc89c Use qlen instead of txqueuelen so we work with busybox iproute2, Gentoo #217948 2008-04-16 15:23:57 +00:00
403abe73de Fix vlans, #49. 2008-04-01 21:34:31 +00:00
fccff6a4ed Allow multiple ntp_servers without error, #47 2008-03-26 22:39:27 +00:00
ecba32d1ca Install ifwatchd for NetBSD. 2008-03-26 19:39:43 +00:00
864e17fabc Ignore more files. 2008-03-26 17:34:23 +00:00
f90f2914b9 Add mising net files back. 2008-03-26 14:41:47 +00:00
833903fc78 use $CP and $SED instead of cp and sed 2008-03-26 14:27:46 +00:00
ccf238f852 Merge net.OS into net 2008-03-26 14:18:01 +00:00
4d6b84290a These now need to be prefixed. 2008-03-25 17:17:15 +00:00
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
6159a32f39 SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat. 2008-03-19 19:57:24 +00:00
8b23aaecff Add ifwatchd.sh to power the NetBSD ifwatchd program. Let wpa_supplicant work with it. 2008-03-10 21:34:46 +00:00
a276050a54 Use correct shell_var function, Gentoo bug #212877 2008-03-10 08:56:28 +00:00
61c476e72d Use exlicit make targets, not directory contents. 2008-03-03 12:34:51 +00:00
fec312d448 Update copyrights, my email and license. 2008-01-11 15:31:10 +00:00
5de53f176c Adopt a more C style for scripts and remove vim settings. 2008-01-11 15:08:57 +00:00
acbaacb2c1 dhcpcd could be anywhere, so allow this. 2008-01-10 23:23:39 +00:00
4314784520 Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst keeping BSD for all BSD's. 2008-01-10 16:35:59 +00:00
69fe6844eb net modules should always be installed 2007-12-28 09:38:31 +00:00
11c3b5ed6c whitespace 2007-12-24 22:37:44 +00:00
ed620aec61 get_options -> service_get_value and save_options -> service_set_value 2007-12-19 14:28:38 +00:00
437363a344 We no longer need SVCNAME here 2007-12-18 17:59:29 +00:00
9f2403dffa Remove Gentoo copyright from all files that I know I have written 2007-12-14 14:12:38 +00:00
7a18054fbe Only configure SSID if we are running on a wireless interface. 2007-12-10 16:25:29 +00:00
159fc8b4ad Fix wpa_supplicant configuring per ssid 2007-12-10 16:19:04 +00:00
ac9279cc0d Massive whitespace cleanup 2007-11-28 15:45:03 +00:00
09c5e5d415 Use yesno for more robustness 2007-11-22 13:28:14 +00:00
2b1a864bc4 BSD shouldn't need to use wpa_cli to manage link events 2007-11-21 15:39:43 +00:00
58bea85f92 dhcpcd may not always be in /sbin 2007-11-21 15:39:19 +00:00
9635b455c7 Introduce CONTENTS variable into Makefiles to list the contents of the directory, excluding the Makefile for to Make life easier 2007-11-20 17:37:15 +00:00
5f8cf73b22 Our build chain now works with GNU and BSD make implementations 2007-11-19 13:48:43 +00:00
4888f3c97d wpa_supplicant also works on wired interfaces, Gentoo #198722. 2007-11-14 16:25:47 +00:00
39227ede1d relicense as 2-clause BSD, with the kind permission of Gentoo 2007-11-14 15:22:04 +00:00
bbac5bbf8a Work with wpa_supplicant in /usr 2007-09-25 12:20:00 +00:00
77f9015f0b /lib/rcscripts -> /lib/rc 2007-09-19 13:53:40 +00:00
e5a82d5fe6 dns_sortlist and dns_options now work as documented, #175367. 2007-05-03 11:21:26 +00:00
b2d024b7f4 s-s-d with dhcpcd still has some issues, revert until a fix for dhcpcd is made 2007-05-01 09:37:14 +00:00
b1d9fd4f6f Now that dhcpcd-3 is stable on all arches, use it with start-stop-daemon. 2007-04-25 12:39:31 +00:00
4532564829 Remove debug stuff 2007-04-23 16:43:52 +00:00
7766f7e987 Fix dhclient 2007-04-23 16:41:32 +00:00
64c4d3875d Move carrier detection back into net.sh. Reserve a new hook numbers 2007-04-11 10:40:53 +00:00
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
25d219a086 Use character classes in sed 2007-04-06 19:38:23 +00:00
5af58b4514 Rewrite the core parts in C. We now provide librc so other programs can
query runlevels, services and state without using bash. We also provide
libeinfo so other programs can easily use our informational functions.

As such, we have dropped the requirement of using bash as the init script
shell. We now use /bin/sh and have strived to make the scripts as portable
as possible. Shells that work are bash and dash. busybox works provided
you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
should disable find too.
zsh and ksh do not work at this time.

Networking support is currently being re-vamped also as it was heavily bash
array based. As such, a new config format is available like so
config_eth0="1.2.3.4/24 5.6.7.8/16"
or like so
config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'"

We will still support the old bash array format provided that /bin/sh IS
a link it bash.

ChangeLog for baselayout-1 can be found in our SVN repo.
2007-04-05 11:18:42 +00:00