public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] launch a program at boot
@ 2006-08-21 21:08 gentoo
  2006-08-21 21:38 ` [gentoo-user] " Alexander Skwar
  2006-08-22  4:42 ` [gentoo-user] " Walter Dnes
  0 siblings, 2 replies; 7+ messages in thread
From: gentoo @ 2006-08-21 21:08 UTC (permalink / raw
  To: gentoo-user

How do I launch a java script at boot time???

rob
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user]  Re: launch a program at boot
  2006-08-21 21:08 [gentoo-user] launch a program at boot gentoo
@ 2006-08-21 21:38 ` Alexander Skwar
  2006-08-21 21:53   ` gentoo
  2006-08-22  4:42 ` [gentoo-user] " Walter Dnes
  1 sibling, 1 reply; 7+ messages in thread
From: Alexander Skwar @ 2006-08-21 21:38 UTC (permalink / raw
  To: gentoo-user

· gentoo@kd4ccd.dynalias.org <gentoo@kd4ccd.dynalias.org>:

> 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
-- 
Letzte Worte eines Kapitäns:
  "Das Schiff ist unsinkbar."


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user]  Re: launch a program at boot
  2006-08-21 21:38 ` [gentoo-user] " Alexander Skwar
@ 2006-08-21 21:53   ` gentoo
  2006-08-21 23:09     ` Norberto Bensa
  0 siblings, 1 reply; 7+ messages in thread
From: gentoo @ 2006-08-21 21:53 UTC (permalink / raw
  To: gentoo-user

On Monday 21 August 2006 17:38, Alexander Skwar wrote:
> · gentoo@kd4ccd.dynalias.org <gentoo@kd4ccd.dynalias.org>:
> > 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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user]  Re: launch a program at boot
  2006-08-21 21:53   ` gentoo
@ 2006-08-21 23:09     ` Norberto Bensa
  2006-08-21 23:34       ` Neil Bothwick
  0 siblings, 1 reply; 7+ messages in thread
From: Norberto Bensa @ 2006-08-21 23:09 UTC (permalink / raw
  To: gentoo-user; +Cc: gentoo

[-- Attachment #1: Type: text/plain, Size: 565 bytes --]

gentoo@kd4ccd.dynalias.org 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

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user]  Re: launch a program at boot
  2006-08-21 23:09     ` Norberto Bensa
@ 2006-08-21 23:34       ` Neil Bothwick
  2006-08-22  3:03         ` Norberto Bensa
  0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2006-08-21 23:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user]  Re: launch a program at boot
  2006-08-21 23:34       ` Neil Bothwick
@ 2006-08-22  3:03         ` Norberto Bensa
  0 siblings, 0 replies; 7+ messages in thread
From: Norberto Bensa @ 2006-08-22  3:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

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 :)



[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] launch a program at boot
  2006-08-21 21:08 [gentoo-user] launch a program at boot gentoo
  2006-08-21 21:38 ` [gentoo-user] " Alexander Skwar
@ 2006-08-22  4:42 ` Walter Dnes
  1 sibling, 0 replies; 7+ messages in thread
From: Walter Dnes @ 2006-08-22  4:42 UTC (permalink / raw
  To: gentoo-user

On Mon, Aug 21, 2006 at 05:08:45PM -0400, gentoo@kd4ccd.dynalias.org wrote
> How do I launch a java script at boot time???

  If you can do it from the commandline, put it in the file...
/etc/conf.d/local.start

-- 
Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-08-22  4:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-21 21:08 [gentoo-user] launch a program at boot gentoo
2006-08-21 21:38 ` [gentoo-user] " Alexander Skwar
2006-08-21 21:53   ` gentoo
2006-08-21 23:09     ` Norberto Bensa
2006-08-21 23:34       ` Neil Bothwick
2006-08-22  3:03         ` Norberto Bensa
2006-08-22  4:42 ` [gentoo-user] " Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox