No EOF in the script, I figured it is closing the cat command.
Script now looks this way:
#!/bin/sh
firefox ${*#-I}
echo firefox ${*#-I} > /tmp/firefox-command
and the output in /tmp/firefox-command is:
firefox
nothing more... I tried to use firefox $* instead firefox ${*#-I} in the
scrip, but the output was exactly the same.
Any ideas on why it might be happening?
On Thu, Sep 3, 2009 at 6:36 PM, Mike Massonnet <[email protected]> wrote:
> Forgot the To: list again.
>
> 2009/9/3 Mike Massonnet <[email protected]>:
> > 2009/9/3 Oleg Bezorudko-Chyrykalov <[email protected]>:
> >> Ok so I put in a script:
> >> #!/bin/sh
> >> firefox ${*#-I}
> >> EOF
> >
> > You didn't put EOF in the script, did you? It has nothing to do there,
> > it was part of the cat command to terminate it automatically.
> >
> >> And now when I type an address in the Internet section it does start
> >> firefox, but only to load my home page, not the page I wrote in there...
> >> I think its worth mentioning that my netbook is not connected to the
> >> internet right now, so it is possible that firefox is not going anywhere
> >> because it doesnt see any connection, just trying to access home page.
> >> Mike, can you please check it?
> >
> > As said, I tested and it works fine here. You can debug a little on
> > your side, add within the script the line:
> > echo firefox ${*#-I} > /tmp/firefox-command
> >
> > and after typing something in the address bar you can display the
> > content of the file /tmp/firefox-command (cat /tmp/firefox-command in
> > a terminal) to see what it tried to run. You can run that same command
> > from a terminal to see how it behaves. But perhaps it's just cause
> > your connection is down. I have no more advice.
> >
> >> Thanks a lot!
> >
> > Mike
> >
>
--
Oleg Bezorudko-Chyrykalov
mailto:[email protected]
_______________________________________________
Moblin dev Mailing List
[email protected]
To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org
once logged in.
For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists