[TriLUG] Brainfart... trying to remember what/where pretty bash output is called or can be found

Lee Fickenscher via TriLUG trilug at trilug.org
Fri Oct 21 09:50:42 EDT 2016


Thanks for the replies!

One Fedora install had /lib/lsb/init-functions but another didn't so it
must not be part of the standard install on 24. On the one that had it,
/lib/lsb/init-functions references scripts in /etc/redhat-lsb/ and those
scripts source /etc/init.d/functions, which is where I kinda found what I
was looking for. Since I didn't want the rest of the stuff
in /etc/init.d/functions, I ended up writing a condensed version, but that
gave me a huge head start.

LUG to the rescue again.

Thanks!
-Lee

On Thu, Oct 20, 2016 at 4:02 PM, Aaron Schrab via TriLUG <trilug at trilug.org>
wrote:

> At 15:48 -0700 20 Oct 2016, Lee Fickenscher via TriLUG <trilug at trilug.org>
> wrote:
>
>> I could have sworn there was a lib or something that I could source that
>> would provide output during script execution like init scripts
>>
>
> At least on the Debian unstable system where I'm writing this there's
> /lib/lsb/init-functions . And based on the name I'd say there's a good
> chance that's available on other distributions as well.
>
> I didn't remember the location myself, found it by using:
>
>  grep '^\. ' /etc/init.d/*.sh
>
> --
> This message was sent to: elfick at gmail.com <elfick at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  : http://www.trilug.org/mailman/
> options/trilug/elfick%40gmail.com
> Welcome to TriLUG: http://trilug.org/welcome
>


More information about the TriLUG mailing list