Commit Graph

46 Commits

Author SHA1 Message Date
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
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
666be0faa0 Add _hwclock which ensures that hwclock returns 1 on error, simplifying our code 2008-01-08 14:58:56 +00:00
Roy Marples
956a867a71 No need for basename here 2008-01-06 21:51:30 +00:00
Roy Marples
6ccc00a050 Fix sysctl init script, OpenRC bug #1 2008-01-06 12:49:41 +00:00
Roy Marples
3be23bc02d Instead of mirroring correct output, state that we're not running because of RC_SYS. 2008-01-04 12:50:04 +00:00
Roy Marples
455a9105a8 Fix clock for XENU. 2008-01-04 12:39:47 +00:00
Roy Marples
c13471f91f Fix detection of Xen dom0 vs domU can use the right variable in init scripts. 2008-01-04 12:39:06 +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
e5933843e8 _opts -> _args to match other scripts 2008-01-02 10:28:27 +00:00
Roy Marples
75a8f1ff19 modules init script now uses it's own config file instead of random foo in /etc 2007-12-28 22:41:19 +00:00
Roy Marples
3f079ce495 Fix display 2007-12-27 16:51:31 +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
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
8fd73f8109 Fix default 2007-11-23 22:45:22 +00:00
Roy Marples
85fe5ae12d lowercase clock vars 2007-11-23 22:29:18 +00:00
Roy Marples
206f7096e0 Fix var names 2007-11-23 22:23:20 +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
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
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
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
1a673aa117 Advise not syncing time when running ntp daemons 2007-10-24 08:50:14 +00:00
Roy Marples
9bb59a93f2 Simply the clock script even more. This makes us very similar to Debians now 2007-10-24 07:26:05 +00:00
Roy Marples
663f21199a clock init script now works with busybox. 2007-10-23 22:49:21 +00:00
Roy Marples
bf0cc2dac4 clock init script now handles /etc/adjtime correctly. CLOCK_ADJTIME hinted that it could change the location of /etc/adjtime. This is not the case. 2007-10-23 20:00:08 +00:00
Roy Marples
befddaf241 keymaps now sets unicode keyboard on all defined ttys, #192442
thanks to Pacho Ramos.
2007-09-28 12:54:48 +00:00
Mike Frysinger
17f430c0b9 Skip consolefont setup when RC_TTY_NUMBER is set to 0. 2007-09-25 15:55:47 +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
Mike Frysinger
45d2bcdb9f Use -q option with modprobe rather than sending to /dev/null. 2007-06-02 12:23:43 +00:00
Mike Frysinger
230e3f2afe Don't warn about Factory clock when booting off of livecd. 2007-05-31 05:51:00 +00:00
Roy Marples
ece3f4e666 Only call systohw in clock when we don't have adjfile or we aren't UTC. 2007-05-30 12:17:35 +00:00
Roy Marples
fdf07f69a1 Fix unicode keymaps, #173528.
Some fonts show the currency symbol instead of the Euro when doing
AltGr-E, so we provide an easy setting to fix this. Release alpha2
2007-05-04 15:15:11 +00:00
Roy Marples
431e8cc84f Fix early setting of font 2007-04-26 08:02:21 +00:00
Roy Marples
c965f74f46 Harden unicode settings 2007-04-23 20:20:40 +00:00
Roy Marples
f657d87b99 Rationalise our colour usage a little. 2007-04-17 09:32:18 +00:00
Roy Marples
c688523fcc Punted the volumes init script. Volume handling will be handled by
init script that can be run at any point, even before checkroot.
2007-04-16 13:05:33 +00:00
Roy Marples
33d303f184 Fix the modules init script 2007-04-11 15:00:22 +00:00
Mike Frysinger
2efe075803 modules-update -> update-modules 2007-04-07 09:28:00 +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