Commit Graph

232 Commits

Author SHA1 Message Date
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
Roy Marples
42a5cb043b Allow zsh to work as our shell 2007-07-16 16:22:37 +00:00
Roy Marples
e983dd0ac6 Yikes, removed that old bash gettextism 2007-07-16 14:09:29 +00:00
Roy Marples
4cc1c3054a Fix compile on FreeBSD 2007-07-16 12:22:53 +00:00
Roy Marples
5154d19238 env-update --fork-ldconfig really forks ldconfig and works now 2007-07-16 07:19:32 +00:00
Roy Marples
56e51080ce Remove hardcoded reference to iwi0 2007-07-15 23:39:07 +00:00
Roy Marples
7545a44dde adsl module now finds the correct exe, #185276 thanks to Marcello Laganà. 2007-07-15 19:23:11 +00:00
Mike Frysinger
f1aa7ef2bc Add --remove-destination to example /dev recover command #40987. 2007-07-14 17:36:31 +00:00
Roy Marples
44e575845f Don't use 'this' as a variable name as it confuses c++ 2007-07-13 14:30:33 +00:00
Roy Marples
cffbaa6c4e Use echo instead of touch - saves on forking 2007-07-13 00:04:20 +00:00
Roy Marples
639024a04a Document how to detect if docked or not in example preup, #167742 2007-07-12 14:13:30 +00:00
Roy Marples
06e687598d Punt the RC_TTY variable 2007-07-12 09:48:44 +00:00
Roy Marples
685aa53dce alpha4 2007-07-12 08:34:48 +00:00
Roy Marples
5257ba51b9 Don't unmount network filesystems in localmount or halt.sh, #175602. 2007-07-11 17:27:46 +00:00
Roy Marples
e778dcbfb0 Fix restarting services with plugins 2007-07-11 14:28:54 +00:00
Roy Marples
74d52e749d Don't do interactive when changing init, #174141. 2007-07-11 13:02:05 +00:00
Roy Marples
356c41f77c Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution. 2007-07-11 12:06:37 +00:00
Roy Marples
35d860710a Add the users group 2007-07-11 12:05:25 +00:00
Roy Marples
b4af22edda Only mount stuff if not already mounted 2007-07-11 10:39:01 +00:00
Roy Marples
2aa7ebfe0d Allow non root users to describe 2007-07-10 20:11:42 +00:00
Roy Marples
023d66578b Rename variable 2007-07-10 19:14:37 +00:00
Roy Marples
05201b514b init scripts and their extra options can now have descriptions, #184327. 2007-07-10 19:09:41 +00:00
Roy Marples
445918685e Support /etc/init.d/foo ineed and friends again. 2007-07-10 15:26:49 +00:00
Roy Marples
3fc53d1979 Fix ifconfig using some iproute2 commands. 2007-07-10 15:07:18 +00:00
Roy Marples
7bb24d8058 Remove a debug line 2007-07-10 13:15:07 +00:00
Roy Marples
1cda2a2036 We no longer care about numerical runlevels, #184733. 2007-07-10 11:42:56 +00:00
Mike Frysinger
ae160bf293 document qemu hacking 2007-07-10 08:43:51 +00:00
Roy Marples
6802e045b3 Take no chances with PATH, use our env-update 2007-07-09 10:39:35 +00:00
Roy Marples
53d17a1be2 Add an option to fork ldconfig in env-update, #182794. Also, preserve the entire line in /etc/env.d/foo if it begins with $ 2007-07-09 10:26:02 +00:00
Roy Marples
e03844fd26 Fix iproute handling of -host and improve iwconfig scanning 2007-07-09 09:14:19 +00:00
Roy Marples
87d1a3be19 Fix netmount - thanks to Hollow 2007-07-08 12:59:58 +00:00
Roy Marples
69c459578e Add and delete IPv6 addresses and routes correctly on FreeBSD, #184430
thanks to Friedrich Oslage.
2007-07-06 18:03:17 +00:00
Roy Marples
913b3b1f6b Of course, glibc does not have strlcpy 2007-07-06 17:07:29 +00:00
Roy Marples
809b5286b6 Make the prefix length dynamic 2007-07-06 15:50:40 +00:00
Roy Marples
090090328a Add the audio group for the BSD's 2007-07-05 16:57:04 +00:00
Roy Marples
7de9a73841 Don't trust the plugin 2007-07-05 08:39:32 +00:00
Roy Marples
31a9682c98 Allow syncing of hwlock for BSD and make our config files look fairly similar. 2007-07-04 18:11:01 +00:00
Roy Marples
710a67138f Flush the ebuffer before and after running a plugin. 2007-07-04 16:06:40 +00:00
Roy Marples
f28763d492 As we're running each plugin in a fork, we need to call our cleanup code so we don't leak memory. To this extent, we now have the global boolean rc_in_plugin and the cleanup code can act accordingly. 2007-07-04 16:02:01 +00:00
Roy Marples
46156cc8cd We need the full path to the service before chdir / 2007-07-04 14:56:59 +00:00
Roy Marples
0234605bf4 Up the interface after preup incase preup brings it down 2007-07-04 14:21:24 +00:00
Roy Marples
9c7bbdd774 We still need to wait for services we need/use 2007-07-03 08:38:27 +00:00
Roy Marples
f23b6d0e95 Don't wait for services that were inactive, #183667 thanks to Daniel Drake 2007-07-02 22:07:58 +00:00
Roy Marples
3a9375c7df Make the provided code a little more readable and fix a bug when calculating provided services changing from single to default runlevel 2007-07-02 22:05:38 +00:00
Roy Marples
d6c72cc87c Fix error and only let root run init commands except for status and help 2007-07-02 19:57:18 +00:00
Roy Marples
53097aedc5 Don't set an early font if consolefont isn't in a runlevel, #183773. 2007-07-01 08:45:23 +00:00