Installing upstart files in packages

Tony Green maemo at beermad.org.uk
Fri Dec 25 18:57:34 EET 2009


Thanks Martin,

That gives me a good idea how to proceed.

Cheers
Tony

On Friday 25 Dec 2009 15:58:12 Martin Grimme wrote:
> Hi,
> 
> my package n900-fmrx-enabler installs an upstart file.
> I'm simply installing the upstart script into /etc/event.d and handle
> the first startup in the postinst script.
> 
> You may want to check
> https://garage.maemo.org/plugins/scmsvn/viewcvs.php/trunk/?root=fmrx-enabler
> 
> Please note that the syntax of upstart scripts is a lot different than
> init.d scripts. But it's perfectly possible to keep the init.d script
> and add an upstart script that just invokes the init.d script
> properly.

-- 
Tony Green
Ipswich, Suffolk, England
www.beermad.org.uk/
www.suffolkcamra.co.uk/pubs/
My PGP public key: www.beermad.org.uk/cgi-bin/pgp.cgi

* No Micro$oft products were used in the generation of this communication


More information about the maemo-developers mailing list