[issue290] lsb-functions specification?

ft bts at bts.grml.org
Sun Sep 16 12:10:55 CEST 2007


New submission from ft <ft at grml.org>:

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

----------
assignedto: ft
messages: 799
nosy: ft, mika
priority: package
status: unread
title: lsb-functions specification?
topic: grml-etc-core

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue290>
_____________________________________



More information about the Bugs-changes mailing list