Subversion Repositories ALCASAR

Rev

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

Rev 1529 Rev 1530
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1529 2014-12-21 16:17:23Z richard $ 
2
#  $Id: alcasar.sh 1530 2014-12-21 19:59:20Z 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 839... Line 839...
839
ErrorDocument 503 /error/error.php?error=503
839
ErrorDocument 503 /error/error.php?error=503
840
ErrorDocument 506 /error/error.php?error=506
840
ErrorDocument 506 /error/error.php?error=506
841
EOF
841
EOF
842
 
842
 
843
# Initialization of Vnstat
843
# Initialization of Vnstat
844
	 [ -e /etc/vnstat.conf.default ]  || cp $FIC_VIRTUAL_SSL /etc/vnstat.conf.default
844
	 [ -e /etc/vnstat.conf.default ]  || cp /etc/vnstat.conf /etc/vnstat.conf.default
845
	 $SED "s?Interface.*?Interface \"$EXTIF\"?g" /etc/vnstat.conf
845
	 $SED "s?Interface.*?Interface \"$EXTIF\"?g" /etc/vnstat.conf
846
	/usr/bin/vnstat -u -i $EXTIF
846
	/usr/bin/vnstat -u -i $EXTIF
847
 
847
 
848
} # End of ACC ()
848
} # End of ACC ()
849
 
849