Commit Graph

44 Commits

Author SHA1 Message Date
Roy Marples
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
Roy Marples
816d566440 No need for basename. 2008-01-06 21:56:13 +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
b3df16a03e syslogd uses net 2007-12-19 12:46:45 +00:00
Roy Marples
33dac46299 savecore happens before swap, so don't depend on it. 2007-12-14 23:11:54 +00:00
Roy Marples
6f41b4de60 savecore happens before swap, so don't depend on it. 2007-12-14 23:11:33 +00:00
Roy Marples
e41249b450 savecore happens before swap, so don't depend on it. 2007-12-14 23:10:58 +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
2b107a992b Ensure that hostid starts early 2007-12-07 14:32:57 +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
b258e0eb52 Add hostid init script, based on the FreeBSD one. 2007-12-05 15:57:17 +00:00
Roy Marples
bb2b8f383f Allow moused to have configs per port 2007-12-04 12:25:12 +00:00
Roy Marples
ac9279cc0d Massive whitespace cleanup 2007-11-28 15:45:03 +00:00
Roy Marples
168fa73a49 Use shell expansion instead of basename 2007-11-23 22:22:50 +00:00
Roy Marples
d1090165f8 Add devd and hooks 2007-11-23 12:16:12 +00:00
Roy Marples
cd0cd1167e Use yesno 2007-11-23 12:15:57 +00:00
Roy Marples
d81def80b0 Move /etc/conf.d/rc to /etc/rc.conf.
Lowercase all configurable variables, non configurations remain uppercase.
Replace rc_env_bool with rc_yesno.
Split localmount info procfs (Linux) and dumpon, savecore (BSD)
2007-11-23 12:04:11 +00:00
Roy Marples
41c00eda37 misc BSD fixes 2007-11-21 15:46:56 +00:00
Roy Marples
872a31b215 Don't warn about timezone, it's not for us to do so 2007-11-21 15:44:01 +00:00
Roy Marples
a76f2c20e4 opts -> extra_commands. This is much more descriptive. 2007-11-20 18:19:48 +00:00
Roy Marples
6a6ef66d15 local.rc -> rc-enable and ensure that we start all defined services, including system ones 2007-11-20 17:45:00 +00:00
Roy Marples
7048837e3f local.rc -> rc-enable and ensure that we start all defined services, including system ones 2007-11-20 17:44:39 +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
18acf0803c Install the rarpd init script 2007-11-20 17:11:55 +00:00
Roy Marples
a00f9ed631 powerd does not provide logger 2007-11-20 17:11:19 +00:00
Roy Marples
42b057edbe Add a rarpd init script and allow templates to add start-stop-daemon arguments 2007-11-20 17:10:35 +00:00
Roy Marples
a12da90fb3 Add an ipfw init script 2007-11-20 16:53:45 +00:00
Roy Marples
739d51c349 Document syscons MODE and allow to run on all terminals 2007-11-20 15:49:04 +00:00
Roy Marples
5884660582 Add rpcbind init script 2007-11-20 15:48:57 +00:00
Roy Marples
78fc5aac34 misc fixes 2007-11-20 15:32:32 +00:00
Roy Marples
2ae90aa765 Add a powerd init script 2007-11-20 15:20:51 +00:00
Roy Marples
3ec2cc5026 Add a syslogd init script 2007-11-20 15:11:18 +00:00
Roy Marples
bd85c4a5e7 Add a syscons init script 2007-11-20 15:00:45 +00:00
Roy Marples
4a99001a0f Add a moused init script 2007-11-20 14:44:43 +00:00
Roy Marples
c91de275e9 Fix local.rc for the correct order 2007-11-20 13:42:35 +00:00
Roy Marples
91db53cef3 Move sysctl into it's own init script 2007-11-20 12:10:32 +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
39227ede1d relicense as 2-clause BSD, with the kind permission of Gentoo 2007-11-14 15:22:04 +00:00
Roy Marples
cffbaa6c4e Use echo instead of touch - saves on forking 2007-07-13 00:04:20 +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
31a9682c98 Allow syncing of hwlock for BSD and make our config files look fairly similar. 2007-07-04 18:11:01 +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