on debian like it does not return the version (in fact it say that there is no module available but there is the base module)
David ----- Mail original ----- De: "NICOLAS DUPEUX" <[email protected]> À: [email protected] Envoyé: Jeudi 15 Juillet 2010 13:17:55 Objet: Re: [Shinken-devel] little bug in stop_broker.sh script Hi, You should use the lsb_release command as it'll work on others distros (at least fedora,RHEL and derivates) Regards, ----- "David GUÉNAULT" <[email protected]> a écrit : > LSB mean linux standard base, the only thing is you must ensure which > version of LSB is used (mostly 3.x and 4.x) > on debian based distro you can get it through : dpkg -l | grep "^ii" | > grep lsb > > > ----- Mail original ----- > De: "nap" <[email protected]> > À: [email protected] > Envoyé: Jeudi 15 Juillet 2010 12:52:36 > Objet: Re: [Shinken-devel] little bug in stop_broker.sh script > > And such a init.d skeleton is ok for multiple distributions (debian > and redhat and other lsb based) ? I look at it, it's a good base it's > true. > > > Jean > > On Thu, Jul 15, 2010 at 12:49 PM, David GUÉNAULT > <[email protected]> wrote: > > in every LSB compliant distro there is a /etc/init.d/skeleton script > that will help write your own. > > > > David > > > > ----- Mail original ----- > > De: "nap" <[email protected]> > > À: [email protected] > > Envoyé: Jeudi 15 Juillet 2010 12:38:57 > > Objet: Re: [Shinken-devel] little bug in stop_broker.sh script > > > > On Thu, Jul 15, 2010 at 11:56 AM, Gerhard Lausser > > <[email protected]> wrote: > >> > >>> After all, If someone want to get a new node (scheduler or > >>> poller) and use the standard directories and port, he doesn't > >>> need any configuration file in the distant servers. > >> I forgot that daemons start with a default port, when there's no > config > >> file. > > Yep, in my tests, I always forgot the -c for config files, so after > > all, a config file can be an option if we want to stick to default > > parameters :) > > > >> > >>> (and it ask less code for us :p ) > >> A very good argument. You convinced me :-) > > I knew it :) > > > > I'm writing the init.d scripts (I take as base the scripts from FAS > > files, I'm asking lkco if he can put them in AGPL). Then I start he > > experimental problem/incidents (and send an email about it). > > > > > > > > Jean > > > >> > >> Gerhard > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> This SF.net email is sponsored by Sprint > >> What will you do first with EVO, the first 4G phone? > >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > >> _______________________________________________ > >> Shinken-devel mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/shinken-devel > >> > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Sprint > > What will you do first with EVO, the first 4G phone? > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ > > Shinken-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/shinken-devel > > > > > ------------------------------------------------------------------------------ > > This SF.net email is sponsored by Sprint > > What will you do first with EVO, the first 4G phone? > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ > > Shinken-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/shinken-devel > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Shinken-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/shinken-devel > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Shinken-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/shinken-devel -- Nicolas DUPEUX <[email protected]> Arkea - Domaine Systèmes tel : 02.98.00.36.68 -- Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message etant susceptible d'alteration, l'emetteur decline toute responsabilite au titre de ce message s'il a ete altere, deforme ou falsifie. ----------------------------------- This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. As e-mails are susceptible to alteration, the issuer shall not be liable for the message if altered, changed or falsified. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Shinken-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shinken-devel ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Shinken-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shinken-devel
