2011/6/10 Iñaki Baz Castillo <[email protected]>: > Hi, there are 4 init scripts for debian and ubuntu under > pkg/kamailio/deb/ folder. Most of them are different: > > sip-router/pkg/kamailio/deb$ ls -lrt */kamailio.init > > -rw-r--r-- 1 ibc ibc 4,8K 2011-04-27 13:47 debian/kamailio.init > -rw-r--r-- 1 ibc ibc 4,2K 2011-06-01 01:22 lucid/kamailio.init > -rw-r--r-- 1 ibc ibc 4,2K 2011-06-01 01:22 lenny/kamailio.init > -rw-r--r-- 1 ibc ibc 4,2K 2011-06-09 17:02 squeeze/kamailio.init > > > Is it ok if I try to unify all of them?
Ok, for sure sure sure, the best init script there is debian/kamailio.init (even if it's the oldest one). It correctly handles return status codes (the problem I've reported previously). It also creates /var/run/kamailio/ during startup if it doesn't exist (in Ubuntu /var/run/ is deleted when shutting down). I will do a minor change to it and copy it to all the rest deb init scripts. -- Iñaki Baz Castillo <[email protected]> _______________________________________________ sr-dev mailing list [email protected] http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
