Mike Frysinger
284286004e
Add support for describing the options in the C programs.
2007-09-25 16:21:38 +00:00
Mike Frysinger
17f430c0b9
Skip consolefont setup when RC_TTY_NUMBER is set to 0.
2007-09-25 15:55:47 +00:00
Mike Frysinger
f383365493
Do not require portmap in netmount when nolock option is used with nfs mounts and fixup the test so that it actually works.
2007-09-25 02:29:56 +00:00
Roy Marples
7a2507c52f
Fix pppd metric, #193574 thanks to Martin Väth.
2007-09-24 06:57:40 +00:00
Roy Marples
45bd125dcc
Use a pty for prefixed output instead of pipes for stdout/stderr. This
...
is so that programs can get information about the controlling terminal.
This change was triggered by bug #188506 where it's possible that
stdin, stdout and stderr didn't point to a terminal but ended up on one
via our pipes. Using a pty means that stdout and stderr always point to
a terminal, but we lose the ability to tell them apart.
If there is not a pty available then we use un-prefixed output as normal.
This change has also introduced the need for a signal pipe so that
SIGCHLD can exit the loop cleanly.
2007-09-21 08:49:43 +00:00
Roy Marples
ccced38428
libeinfo now works out the number of columns from stdout rather than stdin, #188506 .
2007-09-20 11:47:04 +00:00
Roy Marples
b6aa1c857c
Added the checkown applet based on the work by Renato Caldas, #192682
...
checkdir ensures that the specified files (or directories) are owned
by the current user/group or as specified on the command line. You can
optionally check permissions too.
2007-09-19 16:27:37 +00:00
Roy Marples
77f9015f0b
/lib/rcscripts -> /lib/rc
2007-09-19 13:53:40 +00:00
Roy Marples
5248fb52fa
plugin hook function is now rc_plugin_hook instead of a name based
...
on the name of the plugin.
2007-09-19 09:00:43 +00:00
Roy Marples
5ba4ad52e2
Only mount /sys if it's not mounted, #192436 .
2007-09-18 15:45:15 +00:00
Roy Marples
81c009e47d
Don't be an ass - don't free the 2nd list. Instead just empty it.
2007-09-18 15:43:19 +00:00
Roy Marples
90c2291cac
Whitespace
2007-09-18 14:13:16 +00:00
Roy Marples
75b5fdff29
Match the recent api change to rc_strlist_join also. We now free the 2nd list for ease of use.
2007-09-18 14:08:56 +00:00
Roy Marples
c8b03c96b7
API change! rc_config_env is renamed to rc_make_env and takes no argument.
2007-09-18 12:20:55 +00:00
Roy Marples
936dc94351
API change! rc_ls_dir, rc_get_config and rc_get_list no longer take
...
a starting list as a first argument. Instead, use rc_strlist_join
to append or prepend the new list to an existing list.
2007-09-18 12:04:51 +00:00
Roy Marples
f1bba12892
API change! rc_strlist_add and friends now take char *** instead of
...
char ** and return a pointer to the item added instead of the new
list head. This is so we can easily tell if the item was successfully
added or not instead of iterating through the list looking for it.
list = rc_strlist_add (list, item);
becomes
rc_strlist_add (&list, item);
2007-09-18 11:36:55 +00:00
Roy Marples
cc7df1d1f8
Document the preferance of wpa_supplicant, #192828 .
2007-09-17 17:44:10 +00:00
Mike Frysinger
2aac9fa464
revert EARLY_MOUNTS since everything in the boot runlevel depends on localmount already and anything that runs before it does not rely on things like /tmp or /var/run (and because i confused localmount with checkroot)
2007-09-09 16:49:40 +00:00
Mike Frysinger
869da3c685
only do the X lock stuff in /tmp so people can overload WIPE_TMP_DIRS for a general "wipe this directory" option. also force +t on /tmp and /var/tmp.
2007-09-09 16:08:32 +00:00
Mike Frysinger
230421384a
Allow people to specify a list of early mount points which will be mounted at the end of localmount so they can do tmpfs on things like /tmp #181527 .
2007-09-09 16:04:40 +00:00
Mike Frysinger
06ae2e5593
Allow people to specify a list of temp dirs to clean in bootmisc #191807 .
2007-09-09 15:52:05 +00:00
Roy Marples
eb5b1c4c41
start-stop-daemon now works with userids correctly when a pidfile
...
is not specified, #191206 .
2007-09-04 09:32:36 +00:00
Mike Frysinger
a166958537
Always attempt to mount /dev/pts when devpts is available as it may appear in some 2.4 setups.
2007-09-03 03:10:42 +00:00
Roy Marples
2a1e0c1d8d
Release rc4
2007-09-02 13:12:24 +00:00
Roy Marples
09374583ac
RC_TTY_NUMBER now defaults to 12, #190996 thanks to Pacho Ramos.
2007-09-02 13:09:34 +00:00
Roy Marples
a9ebc7a2af
Only generate dependencies for Gentoo scripts, #190547 .
2007-08-31 16:21:19 +00:00
Roy Marples
144d9653e1
Undocument pause action, fix --nodeps and --ifstarted, #190045 .
2007-08-28 13:06:44 +00:00
Roy Marples
36118e7dbd
Fix ksoftlevel handling, #190420 .
2007-08-28 08:50:04 +00:00
Mike Frysinger
2845610fa6
Add /etc/gentoo-release to CONFIG_PROTECT_MASK.
2007-08-26 15:57:00 +00:00
Mike Frysinger
0d031e5481
Punt PAGER and EDITOR. People need to set this themselves now.
2007-08-25 18:47:45 +00:00
Mike Frysinger
4a23e42be8
Make sure we list all config files in rc help output.
2007-08-25 18:17:05 +00:00
Roy Marples
1ef8a7f041
Only open /proc/cmdline if it exists, #189686 thanks to Christian Affolter
2007-08-22 14:10:46 +00:00
Roy Marples
25d46c0e96
Fix pppd getting the interface metric.
2007-08-21 08:21:40 +00:00
Roy Marples
dc5e26e056
rc3
2007-08-20 13:32:31 +00:00
Roy Marples
4a8feebc1b
As discussed on the -dev ml, RC_DEPEND_STRICT now defaults to yes.
2007-08-20 09:10:24 +00:00
Roy Marples
b10bd4b9d7
Stop un-needed services when changing runlevels, #189050 .
2007-08-17 12:14:04 +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
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
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
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
534b4300e7
rc1
2007-08-02 11:09:09 +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
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
af2d9995d7
appending noinitd=xdm will skip the xdm service when first booting, #181858 .
2007-07-23 11:36:12 +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