09f949de5e
Remove our reliance on sed and grep
Roy Marples
2007-12-04 14:19:47 +00:00
ba3248e6d2
Preserve IFS correctly
Roy Marples
2007-12-04 14:18:41 +00:00
bb2b8f383f
Allow moused to have configs per port
Roy Marples
2007-12-04 12:25:12 +00:00
8cfb8f1333
Always show the 'Waiting for IPv6 addresses' message if we need to wait, and fixup inet6 addresses on FreeBSD-7
Roy Marples
2007-12-04 09:55:59 +00:00
6ce3bf096b
Wait for IPv6 addresses to complete, Gentoo bug #169442.
Roy Marples
2007-12-03 18:02:57 +00:00
bf8d8a9be7
rc-help.sh should use standard ecolours vs its internal ideas
Roy Marples
2007-12-03 16:16:48 +00:00
52b6cd1c9b
As ecolor does not take a tty, try and guess a valid one.
Roy Marples
2007-12-03 16:16:08 +00:00
82f7dae3e8
Warn about pidfiles not being created.
Roy Marples
2007-12-03 13:38:23 +00:00
7683c5056a
fix last stupid error
Roy Marples
2007-11-30 09:59:10 +00:00
a6d8b76876
Ensure that lo0 gets 127.0.0.1/8 with a space separated config
Roy Marples
2007-11-30 09:38:01 +00:00
16ad975b2d
Allow services to define which extra commands require the service to be started
Roy Marples
2007-11-29 16:23:59 +00:00
82df7e4584
Use shorthand for loops
Roy Marples
2007-11-29 11:23:06 +00:00
50161bef0e
Allow space separated configs to work for CIDR address styles
Roy Marples
2007-11-29 11:17:50 +00:00
f0aa06b586
Fix whitespace in configs
Roy Marples
2007-11-29 09:45:57 +00:00
abc627e4a2
typo
Roy Marples
2007-11-29 09:38:19 +00:00
44fe713062
RC_DEPEND_STRICT -> rc_depend_strict
Roy Marples
2007-11-28 17:02:02 +00:00
f796ad463d
Load the tun/tap modules on BSD
Roy Marples
2007-11-28 16:12:45 +00:00
9252492d2f
We don't care about update-rc
Roy Marples
2007-11-28 15:50:18 +00:00
ac9279cc0d
Massive whitespace cleanup
Roy Marples
2007-11-28 15:45:03 +00:00
444f23e2d1
resolvconf may not be in /sbin
Roy Marples
2007-11-28 14:32:24 +00:00
f434007b98
Add OpenVPN support files
Roy Marples
2007-11-28 13:44:30 +00:00
d651155b61
Sanitize our PATH a bit better, and terminate it correctly in start-stop-daemon.
Roy Marples
2007-11-28 13:40:15 +00:00
8ea741d699
Support required_dirs and required_files. Allow services to mark inactive if using templates and fake commands if in background.
Roy Marples
2007-11-28 13:08:25 +00:00
8df5860848
Use a more generic BSD define.
Roy Marples
2007-11-28 10:06:31 +00:00
97f707db0d
FreeBSD-7 and NetBSD support tmpfs, so try and use this first.
Roy Marples
2007-11-28 10:06:13 +00:00
8a328b7408
Allow whitespace in routing commands, Gentoo bug #200458.
Roy Marples
2007-11-28 10:04:15 +00:00
f6033cfb26
git clean before dist, and add some ignore files
Roy Marples
2007-11-27 16:13:42 +00:00
49edf58fc1
Don't rely on sed being available when calculating deps
Roy Marples
2007-11-26 09:56:22 +00:00
7921d9f3d0
Change to hilite and space a little more
Roy Marples
2007-11-26 09:36:40 +00:00
8fd73f8109
Fix default
Roy Marples
2007-11-23 22:45:22 +00:00
a618935584
Try and work out multilib
Roy Marples
2007-11-23 22:43:45 +00:00
85fe5ae12d
lowercase clock vars
Roy Marples
2007-11-23 22:29:18 +00:00
206f7096e0
Fix var names
Roy Marples
2007-11-23 22:23:20 +00:00
168fa73a49
Use shell expansion instead of basename
Roy Marples
2007-11-23 22:22:50 +00:00
6bc37fd203
this is still an env var
Roy Marples
2007-11-23 22:22:18 +00:00
5f120db647
Fix install permissions a little
Roy Marples
2007-11-23 14:42:19 +00:00
33852baf52
Fix version and depend on ntpdate too
Roy Marples
2007-11-23 14:25:35 +00:00
d7ea2987d6
grep isn't always in /bin
Roy Marples
2007-11-23 13:52:15 +00:00
9583df9c28
Move syslogd to the boot runlevel
Roy Marples
2007-11-23 13:11:40 +00:00
173825d658
Add polkitd init script
Roy Marples
2007-11-23 12:46:03 +00:00
2c5d32d334
Add hald init script
Roy Marples
2007-11-23 12:40:52 +00:00
a9b33949ed
Add dbus init script
Roy Marples
2007-11-23 12:37:11 +00:00
c647e2588d
Add sshd init script
Roy Marples
2007-11-23 12:30:45 +00:00
d1090165f8
Add devd and hooks
Roy Marples
2007-11-23 12:16:12 +00:00
cd0cd1167e
Use yesno
Roy Marples
2007-11-23 12:15:57 +00:00
bbd25ccc00
Add devd and hooks
Roy Marples
2007-11-23 12:12:38 +00:00
81d508b0b5
Add dnsmasq init script
Roy Marples
2007-11-23 12:08:25 +00:00
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)
Roy Marples
2007-11-23 12:04:11 +00:00
f077f179ed
touch ups
Roy Marples
2007-11-22 21:46:51 +00:00
6aadda4965
We no longer need this hack for FreeBSD-7
Roy Marples
2007-11-22 18:53:54 +00:00
a1b9dabf4e
Use yesno for more robustness
Roy Marples
2007-11-22 13:37:24 +00:00
5f37abddde
Use yesno for more robustness
Roy Marples
2007-11-22 13:31:19 +00:00
09c5e5d415
Use yesno for more robustness
Roy Marples
2007-11-22 13:28:14 +00:00
e31e930825
Support FreeBSD ifconfig_foo
Roy Marples
2007-11-22 13:25:20 +00:00
ee61f46309
Use yesno
Roy Marples
2007-11-22 12:20:40 +00:00
4b28587704
Add a yesno function to check the boolean value of a variable
Roy Marples
2007-11-22 12:18:24 +00:00
7cf049cb35
Fix execing a for argument list too long
Roy Marples
2007-11-22 12:09:46 +00:00
c2aa772687
issue.devfix is Gentoo specific, as such it belongs in a separate init script.
Roy Marples
2007-11-22 11:57:30 +00:00
46bb4b8f8b
Allow 'after *; before local;' to work
Roy Marples
2007-11-22 11:25:08 +00:00
640f315270
describe setting the mode a little more
Roy Marples
2007-11-21 15:49:05 +00:00
41c00eda37
misc BSD fixes
Roy Marples
2007-11-21 15:46:56 +00:00
872a31b215
Don't warn about timezone, it's not for us to do so
Roy Marples
2007-11-21 15:44:01 +00:00
2238faff28
Add to the boot runlevel correctly
Roy Marples
2007-11-21 15:43:17 +00:00
38dd90b17a
We should create init.d and tmp dirs
Roy Marples
2007-11-21 15:42:43 +00:00
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
Roy Marples
2007-11-21 15:41:45 +00:00
95f8344874
We should include local paths
Roy Marples
2007-11-21 15:40:42 +00:00
2b1a864bc4
BSD shouldn't need to use wpa_cli to manage link events
Roy Marples
2007-11-21 15:39:43 +00:00
58bea85f92
dhcpcd may not always be in /sbin
Roy Marples
2007-11-21 15:39:19 +00:00
0c52821cba
We cannot use realpath to resolv services as some are symlinks.
Roy Marples
2007-11-21 15:38:07 +00:00
a76f2c20e4
opts -> extra_commands. This is much more descriptive.
Roy Marples
2007-11-20 18:19:48 +00:00
6a6ef66d15
local.rc -> rc-enable and ensure that we start all defined services, including system ones
Roy Marples
2007-11-20 17:45:00 +00:00
7048837e3f
local.rc -> rc-enable and ensure that we start all defined services, including system ones
Roy Marples
2007-11-20 17:44:39 +00:00
9635b455c7
Introduce CONTENTS variable into Makefiles to list the contents of the directory, excluding the Makefile for to Make life easier
Roy Marples
2007-11-20 17:37:15 +00:00
18acf0803c
Install the rarpd init script
Roy Marples
2007-11-20 17:11:55 +00:00
a00f9ed631
powerd does not provide logger
Roy Marples
2007-11-20 17:11:19 +00:00
42b057edbe
Add a rarpd init script and allow templates to add start-stop-daemon arguments
Roy Marples
2007-11-20 17:10:35 +00:00
a12da90fb3
Add an ipfw init script
Roy Marples
2007-11-20 16:53:45 +00:00
739d51c349
Document syscons MODE and allow to run on all terminals
Roy Marples
2007-11-20 15:49:04 +00:00
5884660582
Add rpcbind init script
Roy Marples
2007-11-20 15:48:57 +00:00
78fc5aac34
misc fixes
Roy Marples
2007-11-20 15:32:32 +00:00
2ae90aa765
Add a powerd init script
Roy Marples
2007-11-20 15:20:51 +00:00
3ec2cc5026
Add a syslogd init script
Roy Marples
2007-11-20 15:11:18 +00:00
bd85c4a5e7
Add a syscons init script
Roy Marples
2007-11-20 15:00:45 +00:00
4a99001a0f
Add a moused init script
Roy Marples
2007-11-20 14:44:43 +00:00
c94bfb2f9b
Open RC -> OpenRC
Roy Marples
2007-11-20 13:44:03 +00:00
c91de275e9
Fix local.rc for the correct order
Roy Marples
2007-11-20 13:42:35 +00:00
11a745ab0c
We no longer support pam_console directly. Also, we cannot use chgrp due to silly LDAP issues.
Roy Marples
2007-11-20 12:55:56 +00:00
a8fcb36d72
We don't use /var/lock anymore
Roy Marples
2007-11-20 12:20:50 +00:00
91db53cef3
Move sysctl into it's own init script
Roy Marples
2007-11-20 12:10:32 +00:00
d063cda7e1
Move the runlevel foo to it's own Makefile for ease of maintainance
Roy Marples
2007-11-20 11:59:44 +00:00
ed0074cb44
start -> stop
Roy Marples
2007-11-20 10:32:47 +00:00
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.
Roy Marples
2007-11-20 10:24:40 +00:00
46f25b2a72
No easy way of getting git status, so remove fancy checks.
Roy Marples
2007-11-19 20:27:36 +00:00
008d801a50
Punt the STYLE doc - prospective coders should always match upstream style.
Roy Marples
2007-11-19 18:55:32 +00:00
6be2c2934b
rc.c needs version.h
Roy Marples
2007-11-19 18:36:10 +00:00
619c9dba38
Add a sample inittab
Roy Marples
2007-11-19 18:31:40 +00:00
88ccccc22a
Move runlevel and lib logic to the sub Makefiles
Roy Marples
2007-11-19 16:42:28 +00:00
81715c3159
Display version on start and allow --version to work
Roy Marples
2007-11-19 16:41:36 +00:00
eb20d7d786
Add a README with some installation instructions and a bit of history
Roy Marples
2007-11-19 16:10:33 +00:00
5ffb62f75b
A few comments about PREFIX
Roy Marples
2007-11-19 14:01:28 +00:00