Commit Graph

902 Commits

Author SHA1 Message Date
Roy Marples 9112bd58ca Do our coldplug at the end of sysinit as there's no guarantee that the boot runlevel will be called before the default runlevel. 2008-01-29 13:52:54 +00:00
Roy Marples d8240a1aea If we don't have any branding, then add some uname info at startup. 2008-01-29 10:03:45 +00:00
Roy Marples 9ce3086bf5 Fix service_started_daemon, bug #11 2008-01-28 13:16:33 +00:00
Mike Frysinger ae6929fa30 initial TODO list 2008-01-26 20:38:57 +00:00
Roy Marples 3e5743426b Fix restart --nodeps again. 2008-01-26 16:46:53 +00:00
Roy Marples 829f4d281c Hack around busybox find / rm not handling -- correctly. 2008-01-25 12:33:53 +00:00
Roy Marples 8793fb8d4c No need to specify SVCNAME anymore. 2008-01-23 12:17:50 +00:00
Roy Marples 2fa0b9184d openvpn needs localmount 2008-01-23 12:08:52 +00:00
Roy Marples f0db8eec01 udev uses lowercase values 2008-01-23 10:08:43 +00:00
Roy Marples 5fae9060aa procfs uses getent which requires localmount 2008-01-23 10:08:27 +00:00
Roy Marples 34a675f4d9 NetBSD-4.0 default install has issues with loading the pf module, so omit this stage. 2008-01-23 07:07:53 +00:00
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