[plug] script problem
Hook
hooker at iinet.net.au
Sun Sep 1 15:28:07 WST 2002
Or in fact (leading '/') :
v_res1=/usr/local/sbin/DailModem
since it's not always a good idea to assume the current directory when the
function doesn't explicitly set it.
The Hooker
Andrew J. Barbara wrote:
I noticed you have a typo...
v_res1=sr/local/sbin/DialModem
Why don't you try...
v_res1=usr/local/sbin/DialModem
-----Original Message-----
From: Jon Miller [mailto:jlmiller at mmtnetworks.com.au]
Sent: Sunday, 1 September 2002 10:13 AM
To: Plug
Subject: [plug] script problem
Just wondering why the following does not work:
function comstrt {
v_res1=sr/local/sbin/DialModem
v_res2=Fw
#
echo $v_res1
sleep 5
echo $v_res2
}
What happens is the script runs but the modem does not dial-up, yet if I
issue the command manually it dials. Do I have to enter some kind of
return/enter char to make initialize it?
Jon L. Miller
MMT Networks Pty Ltd
More information about the plug
mailing list