Commit Graph

30 Commits

Author SHA1 Message Date
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
0df6d640f7 Use yesno more 2007-12-09 13:49:20 +00:00
Roy Marples
0490a9290a Remove rc_service_wait as runscript.c should do the waiting. rc_deptree_depend now returns the exact depends as listed. This is so we can support a new 'keywords' directive. We can add whatever here, like 'notimeout' which means that an init script doesn't timeout. This removes the hardcoded check on checkfs and checkroot. 2007-12-05 17:48:07 +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
11a745ab0c We no longer support pam_console directly. Also, we cannot use chgrp due to silly LDAP issues. 2007-11-20 12:55:56 +00:00
Roy Marples
a8fcb36d72 We don't use /var/lock anymore 2007-11-20 12:20:50 +00:00
Roy Marples
91db53cef3 Move sysctl into it's own init script 2007-11-20 12:10:32 +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
ccf79ceb47 Control of system defined env vars should not be done by us. 2007-11-14 13:39:34 +00:00
Roy Marples
42c231d760 Indent fixes 2007-10-27 09:53:56 +00:00
Roy Marples
85648ee5cd Fix tmp cleaning 2007-10-23 10:05:47 +00:00
Roy Marples
ccfbb4ad45 Use mkdir to test. Also, quote for robustness 2007-09-24 15:27:06 +00:00
Mike Frysinger
869da3c685 only do the X lock stuff in /tmp so people can overload WIPE_TMP_DIRS for a general "wipe this directory" option. also force +t on /tmp and /var/tmp. 2007-09-09 16:08:32 +00:00
Mike Frysinger
06ae2e5593 Allow people to specify a list of temp dirs to clean in bootmisc #191807. 2007-09-09 15:52:05 +00:00
Roy Marples
9cf4628aaa Setup wtmp for BSD too 2007-08-23 10:25:09 +00:00
Roy Marples
9174c25aab Ensure that /var/log exists too 2007-08-02 08:41:31 +00:00
Roy Marples
02fcdeede4 Create needed dirs in bootmisc if they do not exist 2007-07-30 11:31:29 +00:00
Roy Marples
380b7f917d Duh, test it 2007-07-27 06:22:05 +00:00
Roy Marples
f678660f04 Fix bootmisc stopping for pam_console and write halt record correctly. 2007-07-26 16:30:05 +00:00
Roy Marples
075e80b358 Merge some of reb's OpenBSD fixes in 2007-07-25 20:58:23 +00:00
Roy Marples
26d11b33cf Use printf so we don't put blank lines at the top of new files and fix mountinfo for nfs roots 2007-07-16 17:07:15 +00:00
Roy Marples
cffbaa6c4e Use echo instead of touch - saves on forking 2007-07-13 00:04:20 +00:00
Roy Marples
6802e045b3 Take no chances with PATH, use our env-update 2007-07-09 10:39:35 +00:00
Roy Marples
53d17a1be2 Add an option to fork ldconfig in env-update, #182794. Also, preserve the entire line in /etc/env.d/foo if it begins with $ 2007-07-09 10:26:02 +00:00
Roy Marples
eb7a0a6285 busybox sysctl does not support -q 2007-05-16 14:53:47 +00:00
Roy Marples
33052124b5 Don't dmesg for VPS systems 2007-04-26 14:22:54 +00:00
Roy Marples
67bfa29457 Don't sysctl for VPS systems 2007-04-26 14:17:15 +00:00
Roy Marples
662e308d86 Apply sysctl if we don't have an init script 2007-04-10 10:50:07 +00:00
Roy Marples
0762d88d84 Punt the rc-depend man page as it's been moved out of /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin 2007-04-06 01:07:10 +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