|
From: Bruce S. <bl...@us...> - 2005-07-20 17:09:26
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16037/scripts/scripts Modified Files: Tag: rel-1-2-patches eagle-usb Log Message: Added dvd+rw-tools Index: eagle-usb =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/eagle-usb,v retrieving revision 1.2 retrieving revision 1.2.2.1 diff -u -d -r1.2 -r1.2.2.1 --- eagle-usb 14 Apr 2004 02:21:30 -0000 1.2 +++ eagle-usb 20 Jul 2005 17:09:14 -0000 1.2.2.1 @@ -23,6 +23,10 @@ source /etc/sysconfig/config source /etc/init.d/functions +if [ -f /etc/eagle-usb/setvars ]; then + source /etc/eagle-usb/setvars +fi + # parameters CONFIGNAME=EAGLE_USB @@ -54,6 +58,17 @@ # get intefarce name int=$(eaglectrl -i) + if [ $ASYNCHRONOUS_START -eq 0 ] ; then + if fctStartAdsl ; then + echo "ADSL connection started up successfully." + else + echo "ADSL connection not started up, errors." + fi + else + fctStartAdsl & + echo "ADSL connection started up successfully." + fi + echo "Eagle usb based modem configured on: $int" ;; @@ -61,6 +76,7 @@ echo "Deconfiguring eagle usb based modem" int=$(eaglectrl -i) /sbin/ifconfig $int down + fctStopAdsl rmmod eagle-usb ;; |