Commit Graph

  • cee3ccc4c1 Fix a segfault if rc.conf does not exist, Gentoo #214887 Roy Marples 2008-03-26 15:10:26 +00:00
  • f90f2914b9 Add mising net files back. Roy Marples 2008-03-26 14:41:47 +00:00
  • ac834ddc56 Fix linux compile. Roy Marples 2008-03-26 14:39:13 +00:00
  • 8e71c03495 No more need for SUBOS Roy Marples 2008-03-26 14:29:27 +00:00
  • 833903fc78 use $CP and $SED instead of cp and sed Roy Marples 2008-03-26 14:27:46 +00:00
  • ccf238f852 Merge net.OS into net Roy Marples 2008-03-26 14:18:01 +00:00
  • 55858eca2e .sh.BSD.in is a better extension. Roy Marples 2008-03-26 14:02:59 +00:00
  • ac037241a7 Merge doc dirs. Roy Marples 2008-03-26 13:59:06 +00:00
  • 6af2b20297 Split sysctl into Linux and BSD specific files. Roy Marples 2008-03-26 09:36:34 +00:00
  • 1b40379a79 We should sort using LC_ALL=C to avoid locale issues. Roy Marples 2008-03-26 08:43:05 +00:00
  • be1f9b0a93 Add --exists and --resolve to rc-service. Roy Marples 2008-03-26 08:08:47 +00:00
  • e30ea10e6c Fix some more prefix stuff. Roy Marples 2008-03-26 05:08:56 +00:00
  • 3f37d4771b If we have coldplugged services, but no start_services, we need to create a new list for start_services. Roy Marples 2008-03-26 05:08:38 +00:00
  • 4f4b74e110 Check the right dir for installed scripts. Roy Marples 2008-03-26 04:48:39 +00:00
  • f06e186d43 Fix mandir install. Roy Marples 2008-03-25 20:39:31 +00:00
  • 5866d829bb Try and fix more prefix stuff. Roy Marples 2008-03-25 18:33:45 +00:00
  • 068c90c82b Fix exclusive removal. Roy Marples 2008-03-25 18:20:23 +00:00
  • 59b27ad7eb Fix man install. Roy Marples 2008-03-25 17:37:54 +00:00
  • 85b480a6f2 Tweak man install. Roy Marples 2008-03-25 17:32:19 +00:00
  • ae9ce04468 Allow MANPREFIX to work. Roy Marples 2008-03-25 17:24:54 +00:00
  • c807b3a815 INITDIR should already be prefixed. Roy Marples 2008-03-25 17:19:41 +00:00
  • 4d6b84290a These now need to be prefixed. Roy Marples 2008-03-25 17:17:15 +00:00
  • 08791ec4a2 INITDIR should already be prefixed. Roy Marples 2008-03-25 17:11:44 +00:00
  • a99b8d349c SYSCONFDIR should already be prefixed. Roy Marples 2008-03-25 17:09:56 +00:00
  • 74bff8a931 DIR should be prefixed already. Roy Marples 2008-03-25 16:59:26 +00:00
  • a2a7f0740e Install swap-blk on NetBSD. Roy Marples 2008-03-25 16:40:49 +00:00
  • 9b2f7bce99 Fix FreeBSD makefile. Roy Marples 2008-03-25 16:25:12 +00:00
  • 3d0fc150dc Fix sysctl on Linux and BSD. Roy Marples 2008-03-25 14:35:52 +00:00
  • fc7e6a3ada Fix module args per kernel version. Roy Marples 2008-03-25 14:35:36 +00:00
  • 748ddf28ed Include Os Makefile. Roy Marples 2008-03-25 14:15:54 +00:00
  • 55eb3794fb Rework our folder structure so that we don't have OS specific dirs, making it easier to share init and conf files per OS. Roy Marples 2008-03-25 14:06:05 +00:00
  • 08aff6ef44 Allow per kernel version module arguments. Roy Marples 2008-03-25 08:31:48 +00:00
  • 0347f01345 Fix segfault when no coldplugged services, thanks to Daijo. Roy Marples 2008-03-24 13:30:24 +00:00
  • 5a80daaf43 Fix coldplug disabling. Roy Marples 2008-03-24 13:09:42 +00:00
  • 64332a3675 Add debug.mk Roy Marples 2008-03-24 11:52:01 +00:00
  • 821166fbfd Fix debug support to work without gmake and bundle -ggdb in properly. Roy Marples 2008-03-24 11:43:03 +00:00
  • 79719b5386 Fix adding services to the boot runlevel, #43 Roy Marples 2008-03-24 10:13:49 +00:00
  • 486d517674 setup a bit of a test framework Mike Frysinger 2008-03-24 07:17:05 +00:00
  • 1c9c2f9fcf fixup testing Mike Frysinger 2008-03-24 06:30:21 +00:00
  • 7b08276fa8 add missing rc_stringlist_new/rc_sys hidden defs Mike Frysinger 2008-03-24 06:24:46 +00:00
  • 58caa0864f ignore generated files Mike Frysinger 2008-03-24 06:18:51 +00:00
  • 9ed5d28d15 add check/test rules Mike Frysinger 2008-03-24 06:10:40 +00:00
  • 02e7e1b988 dont leak the _e var Mike Frysinger 2008-03-24 05:54:18 +00:00
  • a1b9768243 Fix returning a service descriptions. Roy Marples 2008-03-23 22:58:25 +00:00
  • 06635dedbc We don't change service here. Roy Marples 2008-03-23 22:57:56 +00:00
  • 2715981ff9 Revert commit 48fc097e39ec9b3edd9a8929fe9faf8f302451ec and add a comment about making it a runtime config option if it needs to change. Roy Marples 2008-03-23 20:04:18 +00:00
  • ce644e1735 Report mounts in reverse order, Gentoo #214150. Roy Marples 2008-03-23 19:51:41 +00:00
  • ec4721dd7f fix spacing in the trailing [ msg ] Mike Frysinger 2008-03-23 12:49:40 +00:00
  • e1b09daaac fix broken whitespace -- no functional changes Mike Frysinger 2008-03-23 12:24:15 +00:00
  • bd34df6361 add support for automatic gdb launching when RC_DEBUG is defined to 1 to ease bug reporting / information gathering Mike Frysinger 2008-03-22 23:02:30 +00:00
  • 7beafe361a ignore gdb files Mike Frysinger 2008-03-22 23:01:06 +00:00
  • 5dcdfcdf7a add local rpaths if in the git tree Mike Frysinger 2008-03-22 23:00:32 +00:00
  • a4f9eb699b Fix some crashers in a prefix with few services. Roy Marples 2008-03-21 20:02:10 +00:00
  • f7f3b6ae09 euid 0 should always be able to find pids too. Roy Marples 2008-03-21 17:41:01 +00:00
  • f6b47568ad Merge branch 'master' of git@git.overlays.gentoo.org:proj/openrc Roy Marples 2008-03-21 13:04:57 +00:00
  • 85a6addd23 Only test crashed services if we can see pid 1. Roy Marples 2008-03-21 13:04:29 +00:00
  • 4079b4d65d Clean up error display. Roy Marples 2008-03-21 11:20:03 +00:00
  • eca292e5d9 Some OS's block on umount -f, so don't use it. Roy Marples 2008-03-21 11:02:02 +00:00
  • fe90a548b5 ksoftlevel -> krunlevel Roy Marples 2008-03-21 10:34:09 +00:00
  • 494fb0a5f6 Add --list to rc-service to list all available services. Roy Marples 2008-03-21 09:10:59 +00:00
  • e505e6ea41 We should only free the buffer when done reading the dir. Roy Marples 2008-03-21 08:31:04 +00:00
  • e47661449a More pathing fixes. Roy Marples 2008-03-21 00:30:22 +00:00
  • 04b0acb010 Fix pathing again. Roy Marples 2008-03-20 19:57:31 +00:00
  • e598b7d2cd Tweak install. Roy Marples 2008-03-20 17:52:07 +00:00
  • ec2d39d024 Just warn about the incorrect service. Let the right service be more explanitory about missing options. Roy Marples 2008-03-19 22:26:45 +00:00
  • 3b888b385a gitignore Roy Marples 2008-03-19 22:17:10 +00:00
  • eea30772d4 Fix last commit. Roy Marples 2008-03-19 22:11:22 +00:00
  • d948e65d60 Give a better error message when no service specified. Roy Marples 2008-03-19 20:04:48 +00:00
  • 97abd91577 Report wrong service correctly. Roy Marples 2008-03-19 20:01:48 +00:00
  • 5f091395c7 Typo. Roy Marples 2008-03-19 19:59:50 +00:00
  • 6159a32f39 SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat. Roy Marples 2008-03-19 19:57:24 +00:00
  • 6d2e1f7add Fix building on Linux. Roy Marples 2008-03-19 19:43:08 +00:00
  • d9ec62b22a Add rc-service and update all softlevel refs to runlevel. Roy Marples 2008-03-19 17:11:50 +00:00
  • 089caec283 Add missing .mks Roy Marples 2008-03-19 15:38:05 +00:00
  • 64853c4916 Rejig the build system a little so we have per ok defs per system. Probably easier in the long run. Roy Marples 2008-03-19 15:22:20 +00:00
  • 0e6eb0f764 Ensure that our path includes packages and local Roy Marples 2008-03-19 15:21:42 +00:00
  • f69013adbe Fix define name Roy Marples 2008-03-19 15:15:09 +00:00
  • 1443fee901 Fix errors when reporting who we are scheduled by. Roy Marples 2008-03-19 12:26:47 +00:00
  • cdd3881c1b Return scheduled services correctly. Roy Marples 2008-03-19 12:26:09 +00:00
  • 773d50dabb Get going_down and parallel the right away round. Roy Marples 2008-03-18 23:06:02 +00:00
  • 7b8215bbd3 Support pam_mktemp. Roy Marples 2008-03-18 08:19:29 +00:00
  • 51c825ceee Make rc_getline private and save it's buffer so it's sort of like getline from glibc. Roy Marples 2008-03-17 21:27:37 +00:00
  • b9eb450696 Fix some tests on FreeBSD. Roy Marples 2008-03-17 17:57:07 +00:00
  • c74cfabe2e init some vars. Roy Marples 2008-03-17 16:42:31 +00:00
  • 5d77c0db6b This should be a fixed buffer. Roy Marples 2008-03-17 14:42:10 +00:00
  • b2f7606b23 We should check for NULL here. Roy Marples 2008-03-17 14:31:44 +00:00
  • 4c14666423 Punt the rc_strcatpaths function and use snprintf instead to save on expensive malloc calls. Roy Marples 2008-03-17 13:25:56 +00:00
  • 50a7697bf2 rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array. Roy Marples 2008-03-17 09:59:52 +00:00
  • 40930d7d0a Use correct TAILQ_CONCAT macro when not defined. Roy Marples 2008-03-16 17:27:13 +00:00
  • 1fd1472dde Add new stringlist files. Roy Marples 2008-03-16 17:01:35 +00:00
  • cb9da6a262 Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ from queue(3). Refactor code style around the BSD KNF. Roy Marples 2008-03-16 17:00:56 +00:00
  • 40e12f6ba0 RC_SERVICE now points to the service file, so daemons can recall us directly. Roy Marples 2008-03-11 15:00:16 +00:00
  • 568ec5f343 Don't state the fstype we're using as fstab could be totally different. Roy Marples 2008-03-11 13:55:39 +00:00
  • 6f68c44a77 mount may not be in /sbin Roy Marples 2008-03-11 13:51:06 +00:00
  • b7c0d8b43c Remove debug LDFLAGS Roy Marples 2008-03-11 13:45:58 +00:00
  • 52a3cc162b Add a --mount command to fstabinfo so it can mount specific mount points, as mount can get confused with binded mounts, bug #36. Roy Marples 2008-03-11 13:39:20 +00:00
  • 0fa512c2b5 Coldplug net devices on the BSD's as found by getifaddrs. Roy Marples 2008-03-11 11:03:34 +00:00
  • 656b79b51e Fix getting MAC address on NetBSD. Roy Marples 2008-03-11 00:04:49 +00:00
  • 8b23aaecff Add ifwatchd.sh to power the NetBSD ifwatchd program. Let wpa_supplicant work with it. Roy Marples 2008-03-10 21:34:46 +00:00
  • f20099bc33 Fix the old RC_USE names. Roy Marples 2008-03-10 11:33:39 +00:00