* ft <bts@bts.grml.org> [20070916 12:10]:
> 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.
Cool.
> 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
Plus:
einfon
which is used in grml-debootstrap and grml-iptstate.
> 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?
No, we can drop all the *KV* stuff without any problem.
> (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?)
Thanks, that's fine already. :)
regards,
-mika- |