Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30951/scripts
Modified Files:
eagle-usb
Log Message:
eagle-usb now loads firmware from /usr/share/eagle-usb
Index: eagle-usb
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/eagle-usb,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- eagle-usb 20 Mar 2004 17:16:09 -0000 1.1
+++ eagle-usb 27 Mar 2004 00:06:30 -0000 1.2
@@ -41,11 +41,17 @@
mkdir -p $WORKDIR/tmp || exit 1
mkdir -p $WORKDIR/tmp/etc/eagle-usb/scripts || exit 1
make install DESTDIR=$WORKDIR/tmp || exit 1
+ mkdir -p $WORKDIR/tmp/usr/share/eagle-usb
+ mv $WORKDIR/tmp/etc/eagle-usb/dsp_code_isdn.bin $WORKDIR/tmp/usr/share/eagle-usb
+ mv $WORKDIR/tmp/etc/eagle-usb/dsp_code_pots.bin $WORKDIR/tmp/usr/share/eagle-usb
copy_files $WORKDIR/tmp/usr/sbin $CDDIR/usr/ || exit 1
copy_files $WORKDIR/tmp/lib $CDDIR || exit 1
copy_files $WORKDIR/tmp/etc $ETCDIR/ || exit 1
+
cp $MYDIR/scripts/eagle-usb $ETCDIR/etc/init.d || exit 1
+ ln -sf /usr/share/eagle-usb/dsp_code_isdn.bin $ETCDIR/etc/eagle-usb || exit 1
+ ln -sf /usr/share/eagle-usb/dsp_code_pots.bin $ETCDIR/etc/eagle-usb || exit 1
rm -rf $WORKDIR/tmp || exit 1
echo "# Initialize the Eagle USB modem?" >> $CONFIGFILE
|