Parent Directory | Revision Log
Don't use colour when not a tty - like say when we're redirected to a file.
enums are now fixed to specific values and are in UPPER CASE.
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.
libeinfo now works out the number of columns from stdout rather than stdin, #188506.
Add esyslog support
Fix up einfo output a little
Punt the dodgy ebuffer code. We now force prefixing for parallel starts which also reduces our variable pollution.
Add --nocolor to more programs
--nocolor works again, #181011 thanks to Daniel Drake.
Stop blindly assuming that a blank TERM is cons25. For cons25 terms we drop one column so we don't get an extra newline.
We now have an alternative to buffering stdout and stderr. RC_PREFIX="yes" will put the service name as a prefix to all output made by the service. Thanks to Ciaran McCreesh for the idea.
We now buffer stdout and stderr to a file and flush that when running in parallel. RC_PARALLEL_STARTUP has been renamed to RC_PARALLEL.
Fix bridge some more, remove superflous warning from vewarn and error when no interface correctly
fix #if handling in get_term_columns
Rationalise our colour usage a little.
env vars EINFO_GOOD and friends now override our hardcoded builtins.
add hidden visibility support to libeinfo as well
Cuddle up to LKML C style
Change veinfo and friends to einfov. Rationale - we may need veinfo to support va_list in the future.
Misc fixes, plugged a memory leak in runscript.c and use va_copy to avoid nasty segfaults
Rewrite the core parts in C. We now provide librc so other programs can query runlevels, services and state without using bash. We also provide libeinfo so other programs can easily use our informational functions. As such, we have dropped the requirement of using bash as the init script shell. We now use /bin/sh and have strived to make the scripts as portable as possible. Shells that work are bash and dash. busybox works provided you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you should disable find too. zsh and ksh do not work at this time. Networking support is currently being re-vamped also as it was heavily bash array based. As such, a new config format is available like so config_eth0="126.96.36.199/24 188.8.131.52/16" or like so config_eth0="'184.108.40.206 netmask 255.255.255.0' '220.127.116.11 netmask 255.255.0.0'" We will still support the old bash array format provided that /bin/sh IS a link it bash. ChangeLog for baselayout-1 can be found in our SVN repo.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
|Powered by ViewVC 1.1.20|