I improved startup init.d script from DB2 Express C for Ubuntu. This script can be used with other DB2 editions and distributions as well with little (if any) modifications.
Old script did not have support for starting DB2 Text extender. New version scans db2 databases and if database enabled for db2 text extender is found, db2ts start for text is executed. This will really help sysadmins because they do not need to write init.d script for db2ts start - my solution is fully automatic.
Script is attached to following bug report on launchpad.
This is my last post for 2010.