Re: [gentoo-user] Autostart of an application for a headless embedded system

2015-11-28 Thread wabenbau
meino.cra...@gmx.de wrote:

> Hi,
> 
> I have a Gentoo on my embedded system (Arietta G25, very tiny). 
> If this system is booted (no display, no monitor, only one LED) 
> an application (console only) should start, do its job and if done
> shutdown the system. The application runs as root.
> The system has no connection to the outside, so there are no
> security related concerns...
> 
> 
> What is the best place to call that application?

If you use openrc then /etc/local.d/ would be a good place.

--
Regards
wabe



[gentoo-user] Autostart of an application for a headless embedded system

2015-11-28 Thread Meino . Cramer
Hi,

I have a Gentoo on my embedded system (Arietta G25, very tiny). 
If this system is booted (no display, no monitor, only one LED) 
an application (console only) should start, do its job and if done
shutdown the system. The application runs as root.
The system has no connection to the outside, so there are no
security related concerns...


What is the best place to call that application?


Thank you very much for any help in adnavce!
Best regards,
Meino







Re: [gentoo-user] Autostart of an application for a headless embedded system

2015-11-28 Thread Meino . Cramer
waben...@gmail.com  [15-11-29 06:48]:
> meino.cra...@gmx.de wrote:
> 
> > Hi,
> > 
> > I have a Gentoo on my embedded system (Arietta G25, very tiny). 
> > If this system is booted (no display, no monitor, only one LED) 
> > an application (console only) should start, do its job and if done
> > shutdown the system. The application runs as root.
> > The system has no connection to the outside, so there are no
> > security related concerns...
> > 
> > 
> > What is the best place to call that application?
> 
> If you use openrc then /etc/local.d/ would be a good place.
> 
> --
> Regards
> wabe
> 

Hi wabe,

...thanks a lot! :
Yes I am using openrc...I asked because I was unsure not
to screw up the bootprocess...

Best regards,
Meino