Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#249427 - 15/02/2005 17:44 hijack EXEC (ONCE)
ukengb
member

Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
Can someone point to me to a definition of the difference between hijack's @EXEC and @EXEC_ONCE config.ini options?

I just cannot find anything that actually explains the difference, so a pointer would really help.

Thanks.

Top
#249428 - 15/02/2005 17:51 Re: hijack EXEC (ONCE) [Re: ukengb]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
@EXEC executes the given command every time the player app starts.

@EXEC_ONCE does it on power up and that's it.

(I think that's right.)

I can't find an immediate definitive link. It seems that the Hijack FAQ is less than up-to-date.

Edit: Here you go.


Edited by wfaulk (15/02/2005 17:56)
_________________________
Bitt Faulk

Top
#249429 - 16/02/2005 06:36 Re: hijack EXEC (ONCE) [Re: wfaulk]
ukengb
member

Registered: 30/04/2003
Posts: 136
Loc: United Kingdom
That would make sense as the recommendation for telnetd was @EXEC_ONCE and for running ntpdate was @EXEC.

When the empeg 'sleeps', is the player app still running or has it been terminated and it only starts again when you wake up the empeg?

I just answered that - it's still running. I have 14 player processes - is that right, how come so many?

Under what circumstances would the player app be stopped?

Top
#249430 - 16/02/2005 07:09 Re: hijack EXEC (ONCE) [Re: ukengb]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Quote:
I just answered that - it's still running. I have 14 player processes - is that right, how come so many?


One per thread, probably.
_________________________
-- roger

Top
#249431 - 16/02/2005 13:08 Re: hijack EXEC (ONCE) [Re: ukengb]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Quote:
Under what circumstances would the player app be stopped?

- When you Q or Ctrl-C or kill at a shell prompt.

- When you use a configuration tweak to add the "Quit" item to the player's main menu, and then select it from the player's main menu.

- When the player app crashes for some reason.

I'm not sure if the player app stops at any point during a synchronization operation, or if the player just receives a reboot command...
_________________________
Tony Fabris

Top