Commit Graph

1117 Commits

Author SHA1 Message Date
Roy Marples
5d77c0db6b This should be a fixed buffer. 2008-03-17 14:42:10 +00:00
Roy Marples
b2f7606b23 We should check for NULL here. 2008-03-17 14:31:44 +00:00
Roy Marples
4c14666423 Punt the rc_strcatpaths function and use snprintf instead to save on expensive malloc calls. 2008-03-17 13:25:56 +00:00
Roy Marples
50a7697bf2 rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array. 2008-03-17 09:59:52 +00:00
Roy Marples
40930d7d0a Use correct TAILQ_CONCAT macro when not defined. 2008-03-16 17:27:13 +00:00
Roy Marples
1fd1472dde Add new stringlist files. 2008-03-16 17:01:35 +00:00
Roy Marples
cb9da6a262 Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ from queue(3). Refactor code style around the BSD KNF. 2008-03-16 17:00:56 +00:00
Roy Marples
40e12f6ba0 RC_SERVICE now points to the service file, so daemons can recall us directly. 2008-03-11 15:00:16 +00:00
Roy Marples
568ec5f343 Don't state the fstype we're using as fstab could be totally different. 2008-03-11 13:55:39 +00:00
Roy Marples
6f68c44a77 mount may not be in /sbin 2008-03-11 13:51:06 +00:00
Roy Marples
b7c0d8b43c Remove debug LDFLAGS 2008-03-11 13:45:58 +00:00
Roy Marples
52a3cc162b Add a --mount command to fstabinfo so it can mount specific mount points, as mount can get confused with binded mounts, bug #36. 2008-03-11 13:39:20 +00:00
Roy Marples
0fa512c2b5 Coldplug net devices on the BSD's as found by getifaddrs. 2008-03-11 11:03:34 +00:00
Roy Marples
656b79b51e Fix getting MAC address on NetBSD. 2008-03-11 00:04:49 +00:00
Roy Marples
8b23aaecff Add ifwatchd.sh to power the NetBSD ifwatchd program. Let wpa_supplicant work with it. 2008-03-10 21:34:46 +00:00
Roy Marples
f20099bc33 Fix the old RC_USE names. 2008-03-10 11:33:39 +00:00
Roy Marples
a276050a54 Use correct shell_var function, Gentoo bug #212877 2008-03-10 08:56:28 +00:00
Roy Marples
c4a54605e0 Support baselayout-2 uppercase RC_NEED vars, #38. 2008-03-08 15:22:29 +00:00
Roy Marples
df1377601b We don't mount /lib/rc/init.d when / is rw at boot. 2008-03-08 15:18:53 +00:00
Roy Marples
4742e1ec69 d_type is not portable across filesystems. 2008-03-08 13:06:29 +00:00
Roy Marples
072eca4299 Remove old config var 2008-03-08 11:22:02 +00:00
Roy Marples
2f22f9dfeb Test access instead of euid. 2008-03-06 11:39:05 +00:00
Roy Marples
39dd08c539 Test access instead of euid. 2008-03-06 11:34:38 +00:00
Roy Marples
19bad914bc Show version similar to gcc. 2008-03-05 17:31:19 +00:00
Roy Marples
8f1cb87981 Typo 2008-03-05 13:55:05 +00:00
Roy Marples
a689b66023 Add tunable SYSCONFDIR 2008-03-05 12:27:11 +00:00
Roy Marples
7aa231de2e Style. 2008-03-05 10:03:36 +00:00
Roy Marples
fba18b3a48 localmount uses lvm 2008-03-05 08:40:17 +00:00
Roy Marples
c5d174af17 When stopping localmount, set LC_ALL=C so bash doesn't lock /usr. 2008-03-04 22:52:48 +00:00
Roy Marples
8d66fe0056 ignore 2008-03-04 22:04:00 +00:00
Roy Marples
ff162b39ac Don't rely on fuser being present 2008-03-04 22:03:41 +00:00
Roy Marples
0e14742783 Fix multilib. 2008-03-04 20:44:39 +00:00
Roy Marples
5ebefb7794 Update ignore. 2008-03-04 20:42:55 +00:00
Roy Marples
4ae5aebe81 Inform plugins when we exit if on signal. 2008-03-04 20:41:25 +00:00
Roy Marples
fb85a0833f Fix fsck progress bar. 2008-03-04 16:58:26 +00:00
Roy Marples
6a2cce536e Document the negation of keywords. 2008-03-04 10:40:31 +00:00
Roy Marples
6baff6cd1d Don't store empty services. 2008-03-04 10:36:20 +00:00
Roy Marples
6caea225d8 mixer doesn't work on all platforms. 2008-03-04 00:41:05 +00:00
Roy Marples
9f0d99020a swapctl -t doesn't work on fbsd. 2008-03-04 00:29:43 +00:00
Roy Marples
9a1f3768a5 Not all fbsd systems support powerd. 2008-03-03 22:09:39 +00:00
Roy Marples
54afc10aa4 Sanitise the BSD defines a little. 2008-03-03 19:55:29 +00:00
Roy Marples
6ca5e8e0dc Use swapctl for NetBSD. 2008-03-03 19:12:53 +00:00
Roy Marples
e55cb5dd5b Fix compile on Linux. 2008-03-03 17:22:01 +00:00
Roy Marples
15cf41e713 Split VPS into VSERVER and OPENVZ 2008-03-03 17:19:56 +00:00
Roy Marples
f3e90dddbf rc single and rc sysinit don't check sysvinit env vars in prefix. 2008-03-03 15:57:36 +00:00
Roy Marples
43f3c5480b Don't disable devd in prefix. 2008-03-03 15:57:09 +00:00
Roy Marples
08e78bd15f Don't run mixer or powerd in prefix. 2008-03-03 15:56:28 +00:00
Roy Marples
dab044a5d2 Install bridge.sh 2008-03-03 13:46:16 +00:00
Roy Marples
b614477948 Fix ignore files some more. 2008-03-03 13:31:25 +00:00
Roy Marples
35929e23bb keyword noprefix 2008-03-03 13:18:35 +00:00