Guest cryptohead7 Posted December 20, 2002 Report Share Posted December 20, 2002 Hi, I want to create a script that will run Mozilla and then connect to KPPP -c xxx. I tried a shell script like: mozilla;kppp -c xxx but, it waits for mozilla to close before starting KPPP. How can I make them run? Jean S. Paquet Quote Link to comment Share on other sites More sharing options...
MottS Posted December 21, 2002 Report Share Posted December 21, 2002 I would try that: mozilla & kppp -c xxx Hope it works.. MOttS Quote Link to comment Share on other sites More sharing options...
bvc Posted December 21, 2002 Report Share Posted December 21, 2002 kppp -c xxx (sleep 30; mozilla) & The 30 should be adjusted to how long it takes kppp to connect. Quote Link to comment Share on other sites More sharing options...
Guest cryptohead7 Posted December 21, 2002 Report Share Posted December 21, 2002 Thanks guys, just what I needed. Quote Link to comment Share on other sites More sharing options...
aru Posted December 21, 2002 Report Share Posted December 21, 2002 what if the connection fails? I suggest: if kppp -c xxx; then exec mozilla else echo 'couldn't connect!' fi or simplier: kppp -c xxx && exec mozilla || echo 'couldn't connect!' If the script is not supposed to end after starting mozilla replace the "exec mozilla" with "mozilla &" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.