Commit Graph

  • 39b7394d93 uppercase values Roy Marples 2007-12-09 13:52:03 +00:00
  • f71beafa16 uppercase values Roy Marples 2007-12-09 13:50:41 +00:00
  • 62bbbf7f31 normalise var name Roy Marples 2007-12-09 13:49:43 +00:00
  • 0df6d640f7 Use yesno more Roy Marples 2007-12-09 13:49:20 +00:00
  • 2c3c27e251 Mirror the action of rc-update in baselayout-1, with the exception of adding to the currnet runlevel if no runlevel specified. Roy Marples 2007-12-08 12:10:45 +00:00
  • 9a6cfc0a9b Add termcap support. Roy Marples 2007-12-08 02:50:35 +00:00
  • 0451576374 whitespace Roy Marples 2007-12-07 14:33:37 +00:00
  • 2b107a992b Ensure that hostid starts early Roy Marples 2007-12-07 14:32:57 +00:00
  • b1569127b4 Just check that ecolor returns a string > 0 Roy Marples 2007-12-07 14:32:28 +00:00
  • acf425e822 Include time.h on linux Roy Marples 2007-12-07 14:31:51 +00:00
  • 17585a3c04 Don't be spammy or interactive when we don't output Roy Marples 2007-12-06 11:16:27 +00:00
  • d3436344ee Don't exit in functions. Roy Marples 2007-12-06 10:49:11 +00:00
  • a178d53202 Move RC_ to EINFO_ for all env vars related to einfo. Roy Marples 2007-12-06 10:48:00 +00:00
  • a31c7cc61e These don't need to be exec Roy Marples 2007-12-05 17:49:53 +00:00
  • 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. Roy Marples 2007-12-05 17:48:07 +00:00
  • f40f7528be Add a nscd init script Roy Marples 2007-12-05 16:41:54 +00:00
  • 27067e55e5 Add a newsyslog init script Roy Marples 2007-12-05 16:31:23 +00:00
  • 0f7cb3293a Add a mixer init script Roy Marples 2007-12-05 16:22:20 +00:00
  • 4317408027 Add hostid to the boot runlevel Roy Marples 2007-12-05 16:03:05 +00:00
  • fa19e8ec4a Change file perms Roy Marples 2007-12-05 15:57:26 +00:00
  • b258e0eb52 Add hostid init script, based on the FreeBSD one. Roy Marples 2007-12-05 15:57:17 +00:00
  • 07e3d69c52 Our default start command should correctly recover on failed re-entrant services Roy Marples 2007-12-04 16:15:32 +00:00
  • 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