Modem Script woes...
Hi,
Ive been working on a modem connection script which i got off the web, here it is: #! /bin/sh . /etc/rc.config base=${0##*/} link=${base#*[SK][0-9][0-9]} return=$rc_done echo -e "Starting ISDN link to BT " startproc /usr/sbin/pppd connect '/usr/sbin/chat -v -f /etc/bt.connect' /dev/ttyS1 115200 debug crtscts lock user MYUserName asyncmap a0000 defaultroute noipdefault >/dev/null || return=$rc_failed echo -e "$return" test "$return" = "$rc_done" || exit 1 exit 0 but i keep getting the error "procstart: command not found". I know the script was written on SuSe and im using redhat 8.0. Any help would be appreciated. Cheers |
Change startproc to exec
|
All times are GMT -5. The time now is 03:31 PM. |