Commit Graph

891 Commits

Author SHA1 Message Date
Roy Marples a16428da20 We need to shift here. 2008-01-22 20:48:24 +00:00
Roy Marples 5338b568ca Allow stop start to work when stop is not defined. 2008-01-22 19:39:03 +00:00
Roy Marples 649a710552 Quiet some more lint warnings. 2008-01-22 11:07:39 +00:00
Roy Marples b4bff9ce5e Quiet some lint warnings. 2008-01-22 10:29:15 +00:00
Roy Marples e5baa6ad37 Quiet some lint warnings. 2008-01-22 10:10:09 +00:00
Roy Marples cbe5648158 Define our x* functions as unused rather than inline for a massive space saving. 2008-01-22 09:35:42 +00:00
Roy Marples 2007ed4b95 Prefer for (;;) over while (1) 2008-01-21 16:10:38 +00:00
Roy Marples 07728abbc1 Checking first char for null is more efficient than strlen. 2008-01-21 15:30:40 +00:00
Roy Marples 847ccac13c Testing the first character for NULL is more efficient than checking a strlen of 0. 2008-01-21 15:20:05 +00:00
Roy Marples 28618c8174 should not produce a red star 2008-01-21 14:31:21 +00:00
Roy Marples a597686ded Document yesno, is_older_than and is_newer_than. 2008-01-18 14:17:58 +00:00
Roy Marples 773c2b9ca6 We should never change the list passed to rc_config_value. 2008-01-18 14:01:48 +00:00
Roy Marples 87f785cc31 Style. 2008-01-18 13:30:12 +00:00
Roy Marples b6be36e5ea Don't enforce a C99 compiler. 2008-01-18 11:27:49 +00:00
Roy Marples 1d21c6b774 Fix pmake requiring some output here. 2008-01-18 11:26:23 +00:00
Roy Marples 862e07c8fd rc_coldplug=no really stops all coldplug events 2008-01-18 10:04:21 +00:00
Roy Marples c6774d1c74 If adding to the boot runlevel, ensure that the realpath of the resolved service points to /etc/init.d/$service 2008-01-15 19:47:48 +00:00
Roy Marples 0b5d44af8d pf now works on NetBSD 2008-01-15 19:35:33 +00:00
Roy Marples aa0399e22b Add a pf init script. 2008-01-15 14:18:26 +00:00
Roy Marples 18da799040 Allow things after the /32 for host routes. 2008-01-15 12:13:42 +00:00
Roy Marples 38f8eee495 We should not use options for rc-update, as add, delete and such are commands. 2008-01-15 09:50:14 +00:00
Roy Marples a1783d552d Typo, thanks to dberkholz. 2008-01-15 09:26:29 +00:00
Roy Marples 3e0f49b846 rc_newer_than no longer tests if souce has data, making it a more logical function. As such, we add the existss function to check for existance and size when checking to see if the deptree needs an update. 2008-01-15 09:24:50 +00:00
Roy Marples b29c4aa926 Fix newsyslog on NetBSD. 2008-01-15 00:49:53 +00:00
Roy Marples 7fe30026b3 Fix rc changing runlevels after splitting out the applets. 2008-01-14 19:53:56 +00:00
Roy Marples 46294cba02 Fix shell_var as reported by lamusic. 2008-01-14 16:17:03 +00:00
Roy Marples 62d793f7ff Fix is_older_than. 2008-01-14 14:41:02 +00:00
Roy Marples e068757810 Put the applets into rc-applet.c so that rc.c is easier to manage. 2008-01-14 14:24:20 +00:00
Roy Marples 6e1251b925 Ignore functions.sh and rc-functions.sh as these are now created by make. 2008-01-14 14:03:46 +00:00
Roy Marples cd6f815036 Don't special case innd.pid and handle files in run that start with - 2008-01-14 10:57:48 +00:00
Mike Frysinger d810e597dc partial revert of previous commit -- the rpath stuff was meant to be kept local only 2008-01-14 10:18:52 +00:00
Roy Marples 5bfcea4729 Add a section about reporting bugs. 2008-01-14 10:04:45 +00:00
Roy Marples d695407114 Add support for is_newer_than and is_older_than. is_older_than currently doesn't work as expected, but is_newer_than works fine. 2008-01-14 08:12:37 +00:00
Mike Frysinger e49e5b147c tweak help since this works for dirs and files 2008-01-14 05:48:31 +00:00
Mike Frysinger 357d3ecf84 fix --mode parsing by checking the proper function parameter 2008-01-14 05:39:01 +00:00
Mike Frysinger 0b815cc67f add missing "-d" option 2008-01-14 05:32:47 +00:00
Mike Frysinger 09b958b99d add shortcuts for generating symlinks 2008-01-14 05:32:39 +00:00
Mike Frysinger 6aab712cb4 strip trailing newlines 2008-01-14 05:05:22 +00:00
Roy Marples b054a7251b INSTALLAFTER needs to be defined before we include our mk's to work. 2008-01-13 17:49:29 +00:00
Roy Marples 87e4e4410c Remove rc_service_plugable function and make it private as it needs to read from our config file. 2008-01-13 17:47:23 +00:00
Roy Marples abc7a79755 script install should build objects 2008-01-13 14:14:47 +00:00
Roy Marples f755187020 Change lib name during make, not install. 2008-01-13 13:55:23 +00:00
Roy Marples 98b865bbc7 Set default term to wsvt25 for NetBSD 2008-01-13 10:50:52 +00:00
Roy Marples 7f9ea7c7c4 Fix PAM install 2008-01-13 10:21:22 +00:00
Roy Marples 5bf95bd3f3 Use MKTERMCAP and MKPAM so we don't use env vars TERMCAP or PAM inadvertently. 2008-01-12 20:38:57 +00:00
Roy Marples 9c5300d4ae Many termcap db's don't have ch or RI even though they do work 2008-01-12 20:38:26 +00:00
Roy Marples 6b4e645c2c /var/empty isn't a fixed requirement for sshd 2008-01-12 12:01:23 +00:00
Roy Marples fa363ecaf7 Don't use bins in global if we can help it. 2008-01-11 23:49:40 +00:00
Roy Marples d4404ea9c7 Ensure we link against libraries in /lib instead of anywhere else and always use the linker in /libexec instead of anywhere else. 2008-01-11 23:40:22 +00:00
Roy Marples 0ec43dfe47 These are FreeBSD specific 2008-01-11 22:29:12 +00:00