Commit Graph

35 Commits

Author SHA1 Message Date
Roy Marples
fadee8e656 Move _shell_var shell function to shell_var C applet 2008-01-02 15:38:37 +00:00
Roy Marples
69fe6844eb net modules should always be installed 2007-12-28 09:38:31 +00:00
Roy Marples
11c3b5ed6c whitespace 2007-12-24 22:37:44 +00:00
Roy Marples
ed620aec61 get_options -> service_get_value and save_options -> service_set_value 2007-12-19 14:28:38 +00:00
Roy Marples
afdcf1fa15 udev requires try function and the modules-update program should take care of any 2.4 vs 2.6 kernel issues. Also add vim instructions to a few files. 2007-12-14 20:09:53 +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
09f949de5e Remove our reliance on sed and grep 2007-12-04 14:19:47 +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
82df7e4584 Use shorthand for loops 2007-11-29 11:23:06 +00:00
Roy Marples
ac9279cc0d Massive whitespace cleanup 2007-11-28 15:45:03 +00:00
Roy Marples
09c5e5d415 Use yesno for more robustness 2007-11-22 13:28:14 +00:00
Roy Marples
e31e930825 Support FreeBSD ifconfig_foo 2007-11-22 13:25:20 +00:00
Roy Marples
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
Roy Marples
5f8cf73b22 Our build chain now works with GNU and BSD make implementations 2007-11-19 13:48:43 +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
1152e2677c Embed newlines in __IFS to save our identing 2007-10-30 11:38:46 +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
a825e6f30f Format the script correctly, and fix ssids with spaces in hopefully once and for all 2007-10-25 09:11:18 +00:00
Roy Marples
795408632b Fix BSD wireless script 2007-10-25 06:41:29 +00:00
Roy Marples
9d9880feac outdent properly 2007-09-25 12:20:25 +00:00
Roy Marples
77f9015f0b /lib/rcscripts -> /lib/rc 2007-09-19 13:53:40 +00:00
Roy Marples
ce12aa56d4 Return the next available ifindex for BSD too 2007-08-07 21:04:27 +00:00
Roy Marples
9169c51d39 Fix adding multiple IP addresses, #187526. 2007-08-03 13:54:46 +00:00
Roy Marples
075e80b358 Merge some of reb's OpenBSD fixes in 2007-07-25 20:58:23 +00:00
Roy Marples
69c459578e Add and delete IPv6 addresses and routes correctly on FreeBSD, #184430
thanks to Friedrich Oslage.
2007-07-06 18:03:17 +00:00
Roy Marples
66d7150750 Allow more modes to work. 2007-05-16 06:33:25 +00:00
Roy Marples
86c7d44d66 Fix forcing preferred APS 2007-05-12 21:37:59 +00:00
Roy Marples
0888f74f47 When we don't have an address return 1, #176577. 2007-05-08 16:52:26 +00:00
Roy Marples
6f93566fc7 Fix scanning and clear wepkeys when we start 2007-04-10 12:41:38 +00:00
Roy Marples
c5ddc6ef74 duh 2007-04-09 18:57:57 +00:00
Roy Marples
5076114aa7 routes_SSID now works, as does iwconfig.sh for BSD 2007-04-09 18:56:26 +00:00
Roy Marples
25d219a086 Use character classes in sed 2007-04-06 19:38:23 +00:00
Roy Marples
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