Commit Graph

138 Commits

Author SHA1 Message Date
Mike Frysinger
be1d1dd4c3 Move mail user/group and postmaster user to the mailbase package. 2007-11-14 07:58:02 +00:00
Roy Marples
7003483a91 Fix ppp config, #197775. 2007-11-02 11:02:07 +00:00
Roy Marples
220f6f8fdb Fix an ifconfig calculation for shells that don't support the newer POSIX shell math expansion, #197856. 2007-11-02 10:07:10 +00:00
Roy Marples
80124a050c Work cleanly with bridges on kernels without TCP, #197791. 2007-11-01 22:25:53 +00:00
Roy Marples
be13c0018b Fix fallback, #197788. 2007-11-01 18:15:30 +00:00
Roy Marples
cef90a05a7 Release rc6 2007-10-31 22:56:53 +00:00
Roy Marples
7cd70aee4d You can now log baselayout-2 again, through the RC_LOGGER conf.d/rc
setting. The log is temp stored in /lib/rc/init.d/rc.log and appended
to /var/log/rc.log if it's writeable. sysinit cannot be logged in Linux
as we rely on sysinit to bring the system up to a point where we can log.
single user cannot be logged on FreeBSD due to waitpid(0,0,0) incorrectly
waiting for the log daemon in another process group.
2007-10-31 15:46:56 +00:00
Roy Marples
6ffd3b5289 You can now spoof the source address for arping as the third parameter in gateways_eth0 if you have arping2 installed, #180888. 2007-10-30 11:39:19 +00:00
Roy Marples
c9fe3ade4c rc --override foo will override the runlevel to load after boot or single user runlevels to avoid rc recursion, #196338 2007-10-29 16:02:18 +00:00
Roy Marples
e2ba92f773 /etc/mtab is now a true reflection on /proc/mounts. The only exception is that we punt any / on tmpfs entry, #194615. 2007-10-29 13:53:21 +00:00
Roy Marples
e372729b8c Network config arrays are now split by embedded new lines instead of being evaled into space separated values. This makes it easier to read, maintain and document as discussed on gentoo-dev. 2007-10-29 09:45:49 +00:00
Roy Marples
663f21199a clock init script now works with busybox. 2007-10-23 22:49:21 +00:00
Roy Marples
bf0cc2dac4 clock init script now handles /etc/adjtime correctly. CLOCK_ADJTIME hinted that it could change the location of /etc/adjtime. This is not the case. 2007-10-23 20:00:08 +00:00
Roy Marples
0d9eaafe9a Mount /dev/shm for Linux systems, even not when in /etc/fstab, #196345. 2007-10-19 06:57:41 +00:00
Roy Marples
a28dd2d4ef We now build and optionally work with static libraries. 2007-10-16 13:49:00 +00:00
Roy Marples
f95e75f0e9 rc-status now orders services in start order, #195630 2007-10-15 11:17:57 +00:00
Roy Marples
79736a48d4 Release rc5 2007-10-11 15:39:08 +00:00
Roy Marples
77205862e3 Bump librc and libeinfo to .so.1 2007-10-11 15:05:02 +00:00
Roy Marples
64d1dd9da0 If / block device as in /etc/fstab does not exist, use /dev/root if it's available in checkroot, #171593. 2007-10-11 09:49:54 +00:00
Roy Marples
dc0ba7ebf3 netmount, localmount, halt.sh and net scripts now check OS specific flags to see if a mount is network mounted (linux = fstab, *bsd = "local" in mount options) or not, #192772. 2007-10-09 15:33:05 +00:00
Roy Marples
393d07cb6f txqueuelen_eth0= now works, #190538. 2007-10-09 09:56:45 +00:00
Roy Marples
422ac82ef9 librc.so and libeinfo.so now have symbol versions. 2007-10-03 15:46:02 +00:00
Roy Marples
0ccf248afd Default to tunctl so we can create the device as a specific user, #194588 thanks to Jaco Kroon. 2007-10-03 13:35:39 +00:00
Roy Marples
7274301be2 rc_service_state now returns the state as a mask, which means that we can do things with just the one call making is more efficient. 2007-09-28 14:53:38 +00:00
Roy Marples
befddaf241 keymaps now sets unicode keyboard on all defined ttys, #192442
thanks to Pacho Ramos.
2007-09-28 12:54:48 +00:00
Roy Marples
b894cdb738 net.sh now checks to see if root is net mounted if no predown function
exists, #194074.
2007-09-28 12:46:59 +00:00
Roy Marples
6f7f447978 enums are now fixed to specific values and are in UPPER CASE. 2007-09-28 12:29:23 +00:00
Roy Marples
8a7b58a73d rc_is_env is now rc_env_bool and just works with boolean values. 2007-09-26 07:05:33 +00:00
Roy Marples
c6c7df47a0 Revert last patch 2007-09-25 17:30:07 +00:00
Roy Marples
1a6451654f We no longer use bool in our public headers, using int instead. 2007-09-25 17:19:02 +00:00
Mike Frysinger
b24e877948 Retain behavior where rc-update del warns if nothing changed. 2007-09-25 17:03:19 +00:00
Mike Frysinger
6fc541a9b8 Retain behavior where rc-update del foo deletes foo from all runlevels. 2007-09-25 16:42:59 +00:00
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