67b04947b3
Punt /dev/shm from default /etc/fstab as we handle it and add a helpful hint about the RC_USE_FSTAB option.
Mike Frysinger2007-08-01 13:20:05 +00:00
6c54d47341
Had a brain fart - just echo to fd3
Roy Marples2007-07-22 11:27:26 +00:00
52664d77f9
Cater for einfo calls inside the depend function
Roy Marples2007-07-22 11:23:56 +00:00
b67f71ca5d
Harden gendepends.sh some more so we only capture the stdout we want from the depend function, #186072.
Roy Marples2007-07-22 10:45:56 +00:00
9211d8b3db
Work around a bash evaluation error
Roy Marples2007-07-21 22:35:34 +00:00
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.
Roy Marples2007-07-21 12:49:51 +00:00
76f2391ece
Skip some files in env-update like portage env-update for more robustness
Roy Marples2007-07-19 21:44:55 +00:00
26d11b33cf
Use printf so we don't put blank lines at the top of new files and fix mountinfo for nfs roots
Roy Marples2007-07-16 17:07:15 +00:00
356c41f77c
Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution.
Roy Marples2007-07-11 12:06:37 +00:00
6802e045b3
Take no chances with PATH, use our env-update
Roy Marples2007-07-09 10:39:35 +00:00
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 $
Roy Marples2007-07-09 10:26:02 +00:00
e03844fd26
Fix iproute handling of -host and improve iwconfig scanning
Roy Marples2007-07-09 09:14:19 +00:00
31a9682c98
Allow syncing of hwlock for BSD and make our config files look fairly similar.
Roy Marples2007-07-04 18:11:01 +00:00
710a67138f
Flush the ebuffer before and after running a plugin.
Roy Marples2007-07-04 16:06:40 +00:00
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.
Roy Marples2007-07-04 16:02:01 +00:00
46156cc8cd
We need the full path to the service before chdir /
Roy Marples2007-07-04 14:56:59 +00:00
0234605bf4
Up the interface after preup incase preup brings it down
Roy Marples2007-07-04 14:21:24 +00:00
9c7bbdd774
We still need to wait for services we need/use
Roy Marples2007-07-03 08:38:27 +00:00
f23b6d0e95
Don't wait for services that were inactive, #183667 thanks to Daniel Drake
Roy Marples2007-07-02 22:07:58 +00:00
3a9375c7df
Make the provided code a little more readable and fix a bug when calculating provided services changing from single to default runlevel
Roy Marples2007-07-02 22:05:38 +00:00
d6c72cc87c
Fix error and only let root run init commands except for status and help
Roy Marples2007-07-02 19:57:18 +00:00
53097aedc5
Don't set an early font if consolefont isn't in a runlevel, #183773.
Roy Marples2007-07-01 08:45:23 +00:00
d94d68767a
Harden testing of /proc being valid
Roy Marples2007-05-23 14:12:06 +00:00
f754cfd2a9
RC_SYS should now set XEN0 correctly
Roy Marples2007-05-23 12:30:34 +00:00
64e6dcfc9f
Create a function for running init.sh and init-early.sh which saves on code and removes a gcc-4.2 warning
Roy Marples2007-05-22 12:25:43 +00:00
49347d6f77
Be more resilient when the nettree is invalid
Roy Marples2007-05-18 20:09:10 +00:00
237a66b05c
Default eend to SUCCESS if no options given
Roy Marples2007-05-16 18:45:16 +00:00
b20d600e49
Don't enable syn cookies by default as support for them isn't enabled in the default kernel.
Roy Marples2007-05-15 14:43:44 +00:00
f3888d7613
Implement FreeBSD's dlfunc function to avoid ISO warnings on dlsym - thanks to drizztbsd for find public domain code :)
Roy Marples2007-05-14 19:50:13 +00:00
d0308aaecd
Use correct function casts. Use dlfunc where available to remove ISO warnings :)
Roy Marples2007-05-14 17:05:55 +00:00