Commit Graph

1055 Commits

Author SHA1 Message Date
Roy Marples
81d508b0b5 Add dnsmasq init script 2007-11-23 12:08:25 +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
f077f179ed touch ups 2007-11-22 21:46:51 +00:00
Roy Marples
6aadda4965 We no longer need this hack for FreeBSD-7 2007-11-22 18:53:54 +00:00
Roy Marples
a1b9dabf4e Use yesno for more robustness 2007-11-22 13:37:24 +00:00
Roy Marples
5f37abddde Use yesno for more robustness 2007-11-22 13:31:19 +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
ee61f46309 Use yesno 2007-11-22 12:20:40 +00:00
Roy Marples
4b28587704 Add a yesno function to check the boolean value of a variable 2007-11-22 12:18:24 +00:00
Roy Marples
7cf049cb35 Fix execing a for argument list too long 2007-11-22 12:09:46 +00:00
Roy Marples
c2aa772687 issue.devfix is Gentoo specific, as such it belongs in a separate init script. 2007-11-22 11:57:30 +00:00
Roy Marples
46bb4b8f8b Allow 'after *; before local;' to work 2007-11-22 11:25:08 +00:00
Roy Marples
640f315270 describe setting the mode a little more 2007-11-21 15:49:05 +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
2238faff28 Add to the boot runlevel correctly 2007-11-21 15:43:17 +00:00
Roy Marples
38dd90b17a We should create init.d and tmp dirs 2007-11-21 15:42:43 +00:00
Roy Marples
b321c6891e The BSD's don't need to umount cleanly when shuttind down, as they have a special kernel service to handle this. As sch, don't error if we don't have fuser 2007-11-21 15:41:45 +00:00
Roy Marples
95f8344874 We should include local paths 2007-11-21 15:40:42 +00:00
Roy Marples
2b1a864bc4 BSD shouldn't need to use wpa_cli to manage link events 2007-11-21 15:39:43 +00:00
Roy Marples
58bea85f92 dhcpcd may not always be in /sbin 2007-11-21 15:39:19 +00:00
Roy Marples
0c52821cba We cannot use realpath to resolv services as some are symlinks. 2007-11-21 15:38:07 +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
c94bfb2f9b Open RC -> OpenRC 2007-11-20 13:44:03 +00:00
Roy Marples
c91de275e9 Fix local.rc for the correct order 2007-11-20 13:42:35 +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
d063cda7e1 Move the runlevel foo to it's own Makefile for ease of maintainance 2007-11-20 11:59:44 +00:00
Roy Marples
ed0074cb44 start -> stop 2007-11-20 10:32:47 +00:00
Roy Marples
df523ccfee runscript.sh now provides default start/stop functions if command and pidfile variables are set. We also run $cmd_pre and $cmd_post commands and return accordingly. 2007-11-20 10:24:40 +00:00
Roy Marples
46f25b2a72 No easy way of getting git status, so remove fancy checks. 2007-11-19 20:27:36 +00:00
Roy Marples
008d801a50 Punt the STYLE doc - prospective coders should always match upstream style. 2007-11-19 18:55:32 +00:00
Roy Marples
6be2c2934b rc.c needs version.h 2007-11-19 18:36:10 +00:00
Roy Marples
619c9dba38 Add a sample inittab 2007-11-19 18:31:40 +00:00