Re: [gentoo-user] Re: launch a program at boot

2006-08-21 Thread gentoo
On Monday 21 August 2006 17:38, Alexander Skwar wrote:
 ยท [EMAIL PROTECTED] [EMAIL PROTECTED]:
  How do I launch a java script at boot time???

 By starting it at boot time ;) That's done with an init script, normally.
 Other options include to add it to inittab or to /etc/conf.d/local.start.

 But are there JS interpreters for the command line?

 Alexander Skwar

I think so I am not shure the program was installtd to launch through xdm as a 
server for the graphical interface. I cal login and launch the script but ti 
wont auto launch. 

rob

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: launch a program at boot

2006-08-21 Thread Norberto Bensa
[EMAIL PROTECTED] wrote:
 I think so I am not shure the program was installtd to launch through xdm
 as a server for the graphical interface. 

It is a Java application then...


 I cal login and launch the script  
 but ti wont auto launch.


Check script permisions and add it to local.start:

  chmod +x /path/to/script
  echo /path/to/script params  /etc/conf.d/local.start

Does it work now? 


Does it call the Java interpreter (i.e. #!/usb/bin/java)? 
How do you call/run the script once you login?

Regards,
Norberto


pgpDP9emyfbks.pgp
Description: PGP signature


Re: [gentoo-user] Re: launch a program at boot

2006-08-21 Thread Neil Bothwick
On Mon, 21 Aug 2006 20:09:09 -0300, Norberto Bensa wrote:

 Check script permisions and add it to local.start:
 
   chmod +x /path/to/script
   echo /path/to/script params  /etc/conf.d/local.start

echo /path/to/script params   /etc/conf.d/local.start

Otherwise it will block anything set to run after it.


-- 
Neil Bothwick

Q: Why do PCs - even modern ones - have reset buttons on the front?
A: Because they come with Microsoft operating systems.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: launch a program at boot

2006-08-21 Thread Norberto Bensa
Neil Bothwick wrote:
 On Mon, 21 Aug 2006 20:09:09 -0300, Norberto Bensa wrote:
chmod +x /path/to/script
echo /path/to/script params  /etc/conf.d/local.start

 echo /path/to/script params   /etc/conf.d/local.start

 Otherwise it will block anything set to run after it.

Thanks Neil :)




pgpzmdJscJ6zS.pgp
Description: PGP signature