Subversion Repositories ALCASAR

Rev

Rev 1556 | Rev 1563 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1556 Rev 1558
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1556 2015-01-14 22:49:24Z richard $ 
2
#  $Id: alcasar.sh 1558 2015-01-25 17:13:43Z richard $ 
3
 
3
 
4
# alcasar.sh
4
# alcasar.sh
5
 
5
 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
6
# ALCASAR Install script -  CopyLeft ALCASAR Team [Rexy + 3abtux + Steweb + Crox + ...] 
7
# Ce programme est un logiciel libre ; This software is free and open source
7
# Ce programme est un logiciel libre ; This software is free and open source
Line 554... Line 554...
554
IPV6TO4INIT=no
554
IPV6TO4INIT=no
555
ACCOUNTING=no
555
ACCOUNTING=no
556
USERCTL=no
556
USERCTL=no
557
ETHTOOL_OPTS="autoneg off speed 100 duplex full"
557
ETHTOOL_OPTS="autoneg off speed 100 duplex full"
558
EOF
558
EOF
559
cp -f /etc/sysconfig/network-scripts/ifcfg-$INTIF /etc/sysconfig/network-scripts/default-ifcfg-$INTIF
559
	cp -f /etc/sysconfig/network-scripts/ifcfg-$INTIF /etc/sysconfig/network-scripts/default-ifcfg-$INTIF
560
# Config of INTIF in bypass mode (see "alcasar-bypass.sh")
560
# Config of INTIF in bypass mode (see "alcasar-bypass.sh")
561
	cat <<EOF > /etc/sysconfig/network-scripts/bypass-ifcfg-$INTIF
561
	cat <<EOF > /etc/sysconfig/network-scripts/bypass-ifcfg-$INTIF
562
DEVICE=$INTIF
562
DEVICE=$INTIF
563
BOOTPROTO=static
563
BOOTPROTO=static
564
IPADDR=$PRIVATE_IP
564
IPADDR=$PRIVATE_IP