[services-cvs] CVS services/proc

CVS User miham root at tempel.bibl.u-szeged.hu
2004. Nov. 17., Sze, 12:51:00 CET


Update of /var/lib/cvs/services/proc
In directory tempel:/tmp/cvs-serv29486/proc

Modified Files:
	boinc.sh swinst.sh 
Log Message:
Fix a debianos sedes bibi miatt


--- /var/lib/cvs/services/proc/boinc.sh	2004/11/13 23:45:33	1.13
+++ /var/lib/cvs/services/proc/boinc.sh	2004/11/17 11:51:00	1.14
@@ -11,6 +11,8 @@
 
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 DESC="BOINC Installer"
+DEBOOTSTRAPREL=sarge
+DEBOOTSTRAPSOURCE=http://ftp.de.debian.org/debian/
 NAME=boinc
 SCRIPTNAME=/etc/init.d/$NAME
 BOINCFILE=boinc_4.09_i686-pc-linux-gnu
@@ -31,46 +33,6 @@
 #	. /etc/default/$NAME
 #fi
 
-ifup_serpub() {
-  decho 1 -ne "Bringing up interface to SERPUB VLAN.."
-  if (grep "eth0.0300" /etc/network/interfaces >>/dev/null 2>>/dev/null); then
-    decho 2 -ne '.'
-    if (ifconfig | grep "eth0.0300" >>/dev/null 2>>/dev/null); then
-      decho 2 -ne 'Interface already up!\n'
-      return
-    else
-      decho 2 -ne 'Bringing up interface..'
-      ifup eth0.0300 >>/dev/null 2>>/dev/null
-      decho 2 -ne '. Ok!\n'
-    fi
-  else
-    decho 2 -ne "Configuring interface.."
-    hostnum=$(hostname | cut -c5-)
-    decho 2 -ne '.'
-    serpubip=$(expr 140 + ${hostnum})
-    decho 2 -ne '.'
-    echo "auto eth0.0300" >> /etc/network/interfaces
-    decho 2 -ne '.'
-    echo "iface eth0.0300 inet static" >> /etc/network/interfaces
-    decho 2 -ne '.'
-    echo -ne "\taddress 160.114.159.${serpubip}\n" >> /etc/network/interfaces
-    decho 2 -ne '.'
-    echo -ne "\tnetmask 255.255.255.128\n" >> /etc/network/interfaces
-    decho 2 -ne '.'
-    echo -ne "\tnetwork 160.114.159.128\n" >> /etc/network/interfaces
-    decho 2 -ne '.'
-    echo -ne "\tbroadcast 160.114.159.255\n" >> /etc/network/interfaces
-    decho 2 -ne '.'
-    echo -ne "\tgateway 160.114.159.129\n" >> /etc/network/interfaces
-    decho 2 -ne '. Ok!\n'
-  
-    decho 2 -ne 'Bringing up interface..'
-    ifup eth0.0300 >>/dev/null 2>>/dev/null
-    decho 2 -ne '. Ok!\n'
-    decho 1 -ne '. Ok!\n'
-  fi
-}
-
 #
 #	Function that starts the service.
 #
@@ -90,7 +52,7 @@
   mount /dev/mapper/main-boinc /boinc -t ext2 >>/dev/null 2>>/dev/null
   decho 1 -ne '. Ok!\n';
   decho 1 -ne "Installing base system (i386) for BOINC.."
-  debootstrap --arch i386 sid /boinc http://ftp.fsn.hu/debian/ 2>>/dev/null >>/dev/null
+  debootstrap --arch i386 ${DEBOOTSTRAPREL} /boinc ${DEBOOTSTRAPSOURCE} 2>>/dev/null >>/dev/null
   decho 1 -ne '. Ok!\n';
   decho 1 -ne "Downloading BOINC.."
   mkdir /boinc/boinc
@@ -130,7 +92,7 @@
   mount /dev/mapper/main-boinc /boinc -t ext2 2>>/dev/null >>/dev/null
   decho 1 -ne '. Ok!\n';
   decho 1 -ne "Installing base system (i386) for BOINC.."
-  debootstrap --arch i386 sid /boinc http://ftp.fsn.hu/debian/ 2>>/dev/null >>/dev/null
+  debootstrap --arch i386 ${DEBOOTSTRAPREL} /boinc ${DEBOOTSTRAPSOURCE} 2>>/dev/null >>/dev/null
   decho 1 -ne '. Ok!\n';
   ## We HAVE TO bring up eth0 to VLAN ID 300..
   ifup_serpub
--- /var/lib/cvs/services/proc/swinst.sh	2004/11/10 12:24:19	1.15
+++ /var/lib/cvs/services/proc/swinst.sh	2004/11/17 11:51:00	1.16
@@ -15,7 +15,7 @@
 SCRIPTNAME=/etc/init.d/$NAME
 DEBUGLEVEL=3
 
-export http_proxy=http://lajos.bibl.u-szeged.hu:3128/
+export http_proxy=http://10.0.7.20:3128
 # Gracefully exit if the package has been removed.
 
 # Read config file if it is present.





További információk a(z) Services-cvs levelezőlistáról