BTS

Message799

Author ft
Recipients ft, mika
Date 2007-09-16.10:10:49
Content
Yesterday night, I started to refactor the 'etc/grml/lsb-functions' file from
'grml-etc-core'. It would be helpful to know what is actually required to
by implemented in that file.

The specification in LSB requires this:
  * http://www.linuxbase.org/spec//book/LSB-generic/LSB-generic/iniscrptfunc.html

'lsb-functions' implements these functions:

KV_major
KV_micro
KV_minor
KV_to_int
_eend
add_suffix
dolisting
ebegin
eend
eerror
eindent
einfo
einfon
eoutdent
esetdent
esyslog
ewarn
ewend
get_KV
get_bootconfig
get_bootparam
get_libdir
get_mount_fstab
have_tput
is_net_fs
is_older_than
is_uml_sys
is_vserver_sys
profiling
reverse_list
splash
vebegin
veend
veend
veerror
veinfo
veinfon
vewarn

I grepped through our repositories and the functions we use are:
    einfo, ewarn, eerror, eend, eindent, eoutdent, esyslog

Functions I find particularly ugly are everything containing *KV* in their
name and the dolisting function.

So, what do we need/want from that file? What could be dismissed?

(Sticking only mika into nosy list, as I'm not quite sure who might be
 interested in this topic. mika: could you update that list if needed?)

 -ft
History
Date User Action Args
2007-09-16 10:10:49ftsetrecipients: + ft, mika
2007-09-16 10:10:49ftsetmessageid: <1189937449.9.0.425785971274.issue290@bts.grml.org>
2007-09-16 10:10:49ftlinkissue290 messages
2007-09-16 10:10:49ftcreate