Subversion Repositories ALCASAR

Rev

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

Rev 1551 Rev 1552
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1551 2015-01-10 16:00:48Z richard $ 
2
#  $Id: alcasar.sh 1552 2015-01-10 18:26:57Z 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 539... Line 539...
539
IPV6INIT=no
539
IPV6INIT=no
540
IPV6TO4INIT=no
540
IPV6TO4INIT=no
541
ACCOUNTING=no
541
ACCOUNTING=no
542
USERCTL=no
542
USERCTL=no
543
MTU=$MTU
543
MTU=$MTU
-
 
544
ETHTOOL_OPTS="autoneg off speed 100 duplex full"
544
EOF
545
EOF
545
	fi
546
	fi
546
# Config INTIF (consultation LAN) in normal mode
547
# Config INTIF (consultation LAN) in normal mode
547
	cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-$INTIF
548
	cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-$INTIF
548
DEVICE=$INTIF
549
DEVICE=$INTIF
Line 552... Line 553...
552
MII_NOT_SUPPORTED=yes
553
MII_NOT_SUPPORTED=yes
553
IPV6INIT=no
554
IPV6INIT=no
554
IPV6TO4INIT=no
555
IPV6TO4INIT=no
555
ACCOUNTING=no
556
ACCOUNTING=no
556
USERCTL=no
557
USERCTL=no
-
 
558
ETHTOOL_OPTS="autoneg off speed 100 duplex full"
557
EOF
559
EOF
558
# Config of INTIF in bypass mode (see "alcasar-bypass.sh")
560
# Config of INTIF in bypass mode (see "alcasar-bypass.sh")
559
	cat <<EOF > /etc/sysconfig/network-scripts/default-ifcfg-$INTIF
561
	cat <<EOF > /etc/sysconfig/network-scripts/default-ifcfg-$INTIF
560
DEVICE=$INTIF
562
DEVICE=$INTIF
561
BOOTPROTO=static
563
BOOTPROTO=static