Commit Graph

3346 Commits

Author SHA1 Message Date
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
Roy Marples
88ccccc22a Move runlevel and lib logic to the sub Makefiles 2007-11-19 16:42:28 +00:00
Roy Marples
81715c3159 Display version on start and allow --version to work 2007-11-19 16:41:36 +00:00
Roy Marples
eb20d7d786 Add a README with some installation instructions and a bit of history 2007-11-19 16:10:33 +00:00
Roy Marples
5ffb62f75b A few comments about PREFIX 2007-11-19 14:01:28 +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
2ef9c5c520 Only start plugins once we have made an exclusive file 2007-11-19 13:46:09 +00:00
Roy Marples
da153631e7 Run the hook_out if set 2007-11-16 11:58:41 +00:00
Roy Marples
505f6951c4 If starting and started or stopping and stopped, just warn and continue. Fixes Gentoo bug #176452 again. 2007-11-16 11:55:08 +00:00
Roy Marples
959219f236 Vanilla FreeBSD make is now supported for src 2007-11-15 15:25:51 +00:00