9174c25aab
Ensure that /var/log exists too
Roy Marples
2007-08-02 08:41:31 +00:00
67b04947b3
Punt /dev/shm from default /etc/fstab as we handle it and add a helpful hint about the RC_USE_FSTAB option.
Mike Frysinger
2007-08-01 13:20:05 +00:00
ed249bad88
Fix up einfo output a little
Roy Marples
2007-08-01 11:33:07 +00:00
db7b953460
Remove baselayout-1 stuff
Roy Marples
2007-07-31 18:23:56 +00:00
c22ccdf577
Wups, don't force those CFLAGS
Roy Marples
2007-07-31 16:59:02 +00:00
a4e7e802ac
Force some stuff
Roy Marples
2007-07-31 16:57:16 +00:00
90f0ea65cb
Fix building on uclibc thanks to Solar
Roy Marples
2007-07-31 16:40:32 +00:00
cb172722a9
Fix building on Linux
Roy Marples
2007-07-31 16:35:24 +00:00
b6b849bfd7
Link the right objects against rc
Roy Marples
2007-07-31 16:16:18 +00:00
e6ec76ac40
All our binaries are now mulicalls into rc, which makes our on disk size a lot smaller.
Roy Marples
2007-07-31 16:06:21 +00:00
c674026f9e
All our binaries are now mulicalls into rc, which makes our on disk size a lot smaller.
Roy Marples
2007-07-31 16:05:56 +00:00
02fcdeede4
Create needed dirs in bootmisc if they do not exist
Roy Marples
2007-07-30 11:31:29 +00:00
380b7f917d
Duh, test it
Roy Marples
2007-07-27 06:22:05 +00:00
f678660f04
Fix bootmisc stopping for pam_console and write halt record correctly.
Roy Marples
2007-07-26 16:30:05 +00:00
075e80b358
Merge some of reb's OpenBSD fixes in
Roy Marples
2007-07-25 20:58:23 +00:00
af2d9995d7
appending noinitd=xdm will skip the xdm service when first booting, #181858.
Roy Marples
2007-07-23 11:36:12 +00:00
f1f5b0c367
whitespace
Roy Marples
2007-07-22 11:28:38 +00:00
6c54d47341
Had a brain fart - just echo to fd3
Roy Marples
2007-07-22 11:27:26 +00:00
52664d77f9
Cater for einfo calls inside the depend function
Roy Marples
2007-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 Marples
2007-07-22 10:45:56 +00:00
9211d8b3db
Work around a bash evaluation error
Roy Marples
2007-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 Marples
2007-07-21 12:49:51 +00:00
76f2391ece
Skip some files in env-update like portage env-update for more robustness
Roy Marples
2007-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 Marples
2007-07-16 17:07:15 +00:00
42a5cb043b
Allow zsh to work as our shell
Roy Marples
2007-07-16 16:22:37 +00:00
e983dd0ac6
Yikes, removed that old bash gettextism
Roy Marples
2007-07-16 14:09:29 +00:00
4cc1c3054a
Fix compile on FreeBSD
Roy Marples
2007-07-16 12:22:53 +00:00
5154d19238
env-update --fork-ldconfig really forks ldconfig and works now
Roy Marples
2007-07-16 07:19:32 +00:00
56e51080ce
Remove hardcoded reference to iwi0
Roy Marples
2007-07-15 23:39:07 +00:00
7545a44dde
adsl module now finds the correct exe, #185276 thanks to Marcello Laganà.
Roy Marples
2007-07-15 19:23:11 +00:00
f1aa7ef2bc
Add --remove-destination to example /dev recover command #40987.
Mike Frysinger
2007-07-14 17:36:31 +00:00
44e575845f
Don't use 'this' as a variable name as it confuses c++
Roy Marples
2007-07-13 14:30:33 +00:00
cffbaa6c4e
Use echo instead of touch - saves on forking
Roy Marples
2007-07-13 00:04:20 +00:00
639024a04a
Document how to detect if docked or not in example preup, #167742
Roy Marples
2007-07-12 14:13:30 +00:00
06e687598d
Punt the RC_TTY variable
Roy Marples
2007-07-12 09:48:44 +00:00
685aa53dce
alpha4
Roy Marples
2007-07-12 08:34:48 +00:00
5257ba51b9
Don't unmount network filesystems in localmount or halt.sh, #175602.
Roy Marples
2007-07-11 17:27:46 +00:00
e778dcbfb0
Fix restarting services with plugins
Roy Marples
2007-07-11 14:28:54 +00:00
74d52e749d
Don't do interactive when changing init, #174141.
Roy Marples
2007-07-11 13:02:05 +00:00
356c41f77c
Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution.
Roy Marples
2007-07-11 12:06:37 +00:00
35d860710a
Add the users group
Roy Marples
2007-07-11 12:05:25 +00:00
b4af22edda
Only mount stuff if not already mounted
Roy Marples
2007-07-11 10:39:01 +00:00
2aa7ebfe0d
Allow non root users to describe
Roy Marples
2007-07-10 20:11:42 +00:00
023d66578b
Rename variable
Roy Marples
2007-07-10 19:14:37 +00:00
05201b514b
init scripts and their extra options can now have descriptions, #184327.
Roy Marples
2007-07-10 19:09:41 +00:00
445918685e
Support /etc/init.d/foo ineed and friends again.
Roy Marples
2007-07-10 15:26:49 +00:00
3fc53d1979
Fix ifconfig using some iproute2 commands.
Roy Marples
2007-07-10 15:07:18 +00:00
7bb24d8058
Remove a debug line
Roy Marples
2007-07-10 13:15:07 +00:00
1cda2a2036
We no longer care about numerical runlevels, #184733.
Roy Marples
2007-07-10 11:42:56 +00:00
ae160bf293
document qemu hacking
Mike Frysinger
2007-07-10 08:43:51 +00:00
6802e045b3
Take no chances with PATH, use our env-update
Roy Marples
2007-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 Marples
2007-07-09 10:26:02 +00:00
e03844fd26
Fix iproute handling of -host and improve iwconfig scanning
Roy Marples
2007-07-09 09:14:19 +00:00
87d1a3be19
Fix netmount - thanks to Hollow
Roy Marples
2007-07-08 12:59:58 +00:00
69c459578e
Add and delete IPv6 addresses and routes correctly on FreeBSD, #184430 thanks to Friedrich Oslage.
Roy Marples
2007-07-06 18:03:17 +00:00
913b3b1f6b
Of course, glibc does not have strlcpy
Roy Marples
2007-07-06 17:07:29 +00:00
809b5286b6
Make the prefix length dynamic
Roy Marples
2007-07-06 15:50:40 +00:00
090090328a
Add the audio group for the BSD's
Roy Marples
2007-07-05 16:57:04 +00:00
7de9a73841
Don't trust the plugin
Roy Marples
2007-07-05 08:39:32 +00:00
31a9682c98
Allow syncing of hwlock for BSD and make our config files look fairly similar.
Roy Marples
2007-07-04 18:11:01 +00:00
710a67138f
Flush the ebuffer before and after running a plugin.
Roy Marples
2007-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 Marples
2007-07-04 16:02:01 +00:00
46156cc8cd
We need the full path to the service before chdir /
Roy Marples
2007-07-04 14:56:59 +00:00
0234605bf4
Up the interface after preup incase preup brings it down
Roy Marples
2007-07-04 14:21:24 +00:00
9c7bbdd774
We still need to wait for services we need/use
Roy Marples
2007-07-03 08:38:27 +00:00
f23b6d0e95
Don't wait for services that were inactive, #183667 thanks to Daniel Drake
Roy Marples
2007-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 Marples
2007-07-02 22:05:38 +00:00
d6c72cc87c
Fix error and only let root run init commands except for status and help
Roy Marples
2007-07-02 19:57:18 +00:00
53097aedc5
Don't set an early font if consolefont isn't in a runlevel, #183773.
Roy Marples
2007-07-01 08:45:23 +00:00
afaa27fd65
Add --nocolor to more programs
Roy Marples
2007-06-28 15:44:38 +00:00
0fdc53d54d
Add --nocolor to more programs
Roy Marples
2007-06-28 15:44:14 +00:00
10c3592147
Add --no-ldconfig option to env-update to match portage.
Roy Marples
2007-06-27 12:35:43 +00:00
f9220d3e28
Change pwd to / for all init scripts, #181224.
Roy Marples
2007-06-26 09:20:42 +00:00
0575c15993
Change pwd to / for all init scripts, #181224.
Roy Marples
2007-06-26 08:47:46 +00:00
75f776732b
--nocolor works again, #181011 thanks to Daniel Drake.
Roy Marples
2007-06-26 08:39:02 +00:00
5876968f2e
calc the files to install dynamically
Mike Frysinger
2007-06-22 02:59:29 +00:00
6e8f3dabf7
Allow urandom location to be customized #134489.
Mike Frysinger
2007-06-22 02:57:40 +00:00
1bf11dcfb6
add missing ChangeLog entry
Mike Frysinger
2007-06-22 02:50:34 +00:00
45d2bcdb9f
Use -q option with modprobe rather than sending to /dev/null.
Mike Frysinger
2007-06-02 12:23:43 +00:00
804de005b8
Fix from comio for /proc/filesystems typo in localmount #180621.
Mike Frysinger
2007-06-02 12:22:07 +00:00
230e3f2afe
Don't warn about Factory clock when booting off of livecd.
Mike Frysinger
2007-05-31 05:51:00 +00:00
27344f7f27
Use killall5 again so we can cleanly remount / readonly, #168977 and #177689.
Roy Marples
2007-05-30 22:30:54 +00:00
1c1b0b0a4c
Don't use -f with mount
Roy Marples
2007-05-30 15:47:54 +00:00
e81ab8ecf8
Call umount with LC_ALL=C so that we can umount /usr
Roy Marples
2007-05-30 15:24:21 +00:00
ece3f4e666
Only call systohw in clock when we don't have adjfile or we aren't UTC.
Roy Marples
2007-05-30 12:17:35 +00:00
8bcc145c98
Always update mtab
Roy Marples
2007-05-30 11:26:53 +00:00
dd332f377c
Improve spelling
Roy Marples
2007-05-27 16:02:25 +00:00
d94d68767a
Harden testing of /proc being valid
Roy Marples
2007-05-23 14:12:06 +00:00
f754cfd2a9
RC_SYS should now set XEN0 correctly
Roy Marples
2007-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 Marples
2007-05-22 12:25:43 +00:00
49347d6f77
Be more resilient when the nettree is invalid
Roy Marples
2007-05-18 20:09:10 +00:00
237a66b05c
Default eend to SUCCESS if no options given
Roy Marples
2007-05-16 18:45:16 +00:00
eb7a0a6285
busybox sysctl does not support -q
Roy Marples
2007-05-16 14:53:47 +00:00
49b36c5f2e
Remove debug line
Roy Marples
2007-05-16 11:28:45 +00:00
1ac8d86ebe
Stop using getimeofday for timeouts incase the clock changes.
Roy Marples
2007-05-16 11:05:42 +00:00
66d7150750
Allow more modes to work.
Roy Marples
2007-05-16 06:33:25 +00:00
fc597a8721
/etc/conf.d/rc.$runlevel now works, #177869.
Roy Marples
2007-05-15 15:56:35 +00:00
b20d600e49
Don't enable syn cookies by default as support for them isn't enabled in the default kernel.
Roy Marples
2007-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 Marples
2007-05-14 19:50:13 +00:00
d0308aaecd
Use correct function casts. Use dlfunc where available to remove ISO warnings :)
Roy Marples
2007-05-14 17:05:55 +00:00