Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: pema on March 07, 2009, 11:32:41 AM
-
This is propably an easy one for you guys but Im not succesfull with runing a modem connect script from jwm.
My script looks like this:
#!/bin/sh
sudo pppd -detach connect "chat -s -v -f /etc/ppp/pppscript"
It is named connect.sh and is located in my tc user home folder, it has all permissions I can see and set from emelfm. I setup a new menu entry in .jwmrc and is running file connect.sh as sudo /searchpath/connect.sh but nothing happens.
Script works when entered in term.
Where did I go wrong ?
-
The nodetach (-detach) option is where I guess Jwm doesn't like it; also, why double sudo?