Commit Graph

277 Commits

Author SHA1 Message Date
Roy Marples eba9b8ac14 Fully move esyslog into rc 2007-08-16 17:09:57 +00:00
Roy Marples 6e5c8f8e5a Add esyslog support 2007-08-16 16:53:20 +00:00
Roy Marples b8b1352b38 whitespace 2007-08-15 17:47:25 +00:00
Roy Marples 2ad4a5ba4a Add config to rc-help.sh 2007-08-15 16:58:51 +00:00
Roy Marples 3950eb6eba `config /etc/fstab' can now be used in depend() functions to show that
the deptree should be regenerated if /etc/fstab has changed.
2007-08-15 14:49:41 +00:00
Roy Marples 7d68200f24 Add bzr port 4155 to /etc/services, #188970 thanks to Andrew Cowie. 2007-08-15 11:20:08 +00:00
Roy Marples a85a66348b Need to specify table for busybox. 2007-08-10 10:34:50 +00:00
Roy Marples 0084bc41ef Don't link to rt anymore as it makes dlopen leak - we now use nanosleeps to achieve the same goal (a loop + timeout). No longer put / at the end of directories, instead prefix like so RC_LIBDIR "/foo" to ensure more robust code. 2007-08-09 14:33:20 +00:00
Roy Marples 9072ce748f getoptify and simply the code even more. 2007-08-09 09:53:47 +00:00
Roy Marples 874bee1338 whitespace 2007-08-08 22:46:27 +00:00
Roy Marples f8c1ee736c Add help to rc-update #188170 and tidy up the code a fair bit. 2007-08-08 22:35:32 +00:00
Roy Marples 06902f5ff3 Use the right dir from fstab 2007-08-08 12:39:05 +00:00
Roy Marples 94c6ff7bb7 Plug a leek for non selinux linux systems 2007-08-08 03:07:42 +00:00
Roy Marples 30853d7473 If given a pidfile, just match on that for seeing if we have crashed
or not, #186159.
2007-08-08 03:07:09 +00:00
Roy Marples ce12aa56d4 Return the next available ifindex for BSD too 2007-08-07 21:04:27 +00:00
Roy Marples 2fdff9d8d6 Always give ppp a defaultmetric 2007-08-07 21:01:16 +00:00
Roy Marples 3295a9c0e0 Add a defaultmetric to ppp if we have metric_$IFACE 2007-08-07 20:51:08 +00:00
Roy Marples 01ea7e3186 More pppd fixes 2007-08-07 20:23:38 +00:00
Roy Marples d50a46a7a5 Fix chat connects for pppd 2007-08-07 12:56:07 +00:00
Roy Marples 8d0f3f2b16 Try and hide the terminal escape codes when they fail. 2007-08-07 07:25:24 +00:00
Roy Marples 1e4357ad01 Boot properly when we cannot set an early font, #187628. 2007-08-04 20:35:05 +00:00
Roy Marples 3e5526fd76 Fix rc-update, #187487 and release rc2. 2007-08-04 15:05:12 +00:00
Roy Marples 9169c51d39 Fix adding multiple IP addresses, #187526. 2007-08-03 13:54:46 +00:00
Roy Marples 65a9e4618b Fix static IPv6 routes, #187514. 2007-08-03 13:53:20 +00:00
Roy Marples a3aff5d83c Wups, these definitions need to be in rc.h really 2007-08-03 10:14:38 +00:00
Roy Marples 534b4300e7 rc1 2007-08-02 11:09:09 +00:00
Roy Marples 9174c25aab Ensure that /var/log exists too 2007-08-02 08:41:31 +00:00
Mike Frysinger 67b04947b3 Punt /dev/shm from default /etc/fstab as we handle it and add a helpful hint about the RC_USE_FSTAB option. 2007-08-01 13:20:05 +00:00
Roy Marples ed249bad88 Fix up einfo output a little 2007-08-01 11:33:07 +00:00
Roy Marples db7b953460 Remove baselayout-1 stuff 2007-07-31 18:23:56 +00:00
Roy Marples c22ccdf577 Wups, don't force those CFLAGS 2007-07-31 16:59:02 +00:00
Roy Marples a4e7e802ac Force some stuff 2007-07-31 16:57:16 +00:00
Roy Marples 90f0ea65cb Fix building on uclibc thanks to Solar 2007-07-31 16:40:32 +00:00
Roy Marples cb172722a9 Fix building on Linux 2007-07-31 16:35:24 +00:00
Roy Marples b6b849bfd7 Link the right objects against rc 2007-07-31 16:16:18 +00:00
Roy Marples e6ec76ac40 All our binaries are now mulicalls into rc, which makes our on disk size
a lot smaller.
2007-07-31 16:06:21 +00:00
Roy Marples c674026f9e All our binaries are now mulicalls into rc, which makes our on disk size
a lot smaller.
2007-07-31 16:05:56 +00:00
Roy Marples 02fcdeede4 Create needed dirs in bootmisc if they do not exist 2007-07-30 11:31:29 +00:00
Roy Marples 380b7f917d Duh, test it 2007-07-27 06:22:05 +00:00
Roy Marples f678660f04 Fix bootmisc stopping for pam_console and write halt record correctly. 2007-07-26 16:30:05 +00:00
Roy Marples 075e80b358 Merge some of reb's OpenBSD fixes in 2007-07-25 20:58:23 +00:00
Roy Marples af2d9995d7 appending noinitd=xdm will skip the xdm service when first booting, #181858. 2007-07-23 11:36:12 +00:00
Roy Marples f1f5b0c367 whitespace 2007-07-22 11:28:38 +00:00
Roy Marples 6c54d47341 Had a brain fart - just echo to fd3 2007-07-22 11:27:26 +00:00
Roy Marples 52664d77f9 Cater for einfo calls inside the depend function 2007-07-22 11:23:56 +00:00
Roy Marples b67f71ca5d Harden gendepends.sh some more so we only capture the stdout we want from
the depend function, #186072.
2007-07-22 10:45:56 +00:00
Roy Marples 9211d8b3db Work around a bash evaluation error 2007-07-21 22:35:34 +00:00
Roy Marples 6343b48893 RC_DEPEND_STRICT now controls dependency strictness.
If yes then we only use services in the boot and default runlevels,
regradless of service state.
If no then we take into account coldplugged services and the state
of currently running services.
Fixes #185640.
2007-07-21 12:49:51 +00:00
Roy Marples 76f2391ece Skip some files in env-update like portage env-update for more robustness 2007-07-19 21:44:55 +00:00
Roy Marples 26d11b33cf Use printf so we don't put blank lines at the top of new files and fix mountinfo for nfs roots 2007-07-16 17:07:15 +00:00