Commit 803556c3 authored by Christophe Massiot's avatar Christophe Massiot

* AUTO_SPAWN n'est plus necessaire pour lancer l'init script.

--Meuuh
parent 3f04079d
...@@ -105,7 +105,7 @@ int intf_Run( intf_thread_t *p_intf ) ...@@ -105,7 +105,7 @@ int intf_Run( intf_thread_t *p_intf )
static int StartInterface( intf_thread_t *p_intf ) static int StartInterface( intf_thread_t *p_intf )
{ {
int i_thread; /* thread index */ int i_thread; /* thread index */
#ifdef AUTO_SPAWN #ifdef INIT_SCRIPT
int fd; int fd;
#endif #endif
...@@ -126,13 +126,13 @@ static int StartInterface( intf_thread_t *p_intf ) ...@@ -126,13 +126,13 @@ static int StartInterface( intf_thread_t *p_intf )
return( 1 ); return( 1 );
} }
#ifdef AUTO_SPAWN #ifdef INIT_SCRIPT
/* Execute the initialization script (typically spawn an input thread) */ /* Execute the initialization script (typically spawn an input thread) */
if ( (fd = open( INIT_SCRIPT, O_RDONLY )) != -1 ) if ( (fd = open( INIT_SCRIPT, O_RDONLY )) != -1 )
{ {
/* Startup script does exist */ /* Startup script does exist */
close( fd ); close( fd );
intf_ExecScript( "vlc.init" ); intf_ExecScript( INIT_SCRIPT );
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment