Subversion Repositories ALCASAR

Rev

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

Rev 1587 Rev 1594
Line 1... Line 1...
1
#!/bin/bash
1
#!/bin/bash
2
#  $Id: alcasar.sh 1587 2015-03-08 22:34:21Z richard $ 
2
#  $Id: alcasar.sh 1594 2015-03-10 20:32:27Z 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 600... Line 600...
600
fudge 127.127.1.0 stratum 10
600
fudge 127.127.1.0 stratum 10
601
restrict $PRIVATE_NETWORK mask $PRIVATE_NETMASK nomodify notrap
601
restrict $PRIVATE_NETWORK mask $PRIVATE_NETMASK nomodify notrap
602
restrict 127.0.0.1
602
restrict 127.0.0.1
603
driftfile /var/lib/ntp/drift
603
driftfile /var/lib/ntp/drift
604
logfile /var/log/ntp.log
604
logfile /var/log/ntp.log
-
 
605
disable monitor
605
EOF
606
EOF
606
 
607
 
607
	chown -R ntp:ntp /var/lib/ntp
608
	chown -R ntp:ntp /var/lib/ntp
608
# Renseignement des fichiers hosts.allow et hosts.deny
609
# Renseignement des fichiers hosts.allow et hosts.deny
609
	[ -e /etc/hosts.allow.default ]  || cp /etc/hosts.allow /etc/hosts.allow.default
610
	[ -e /etc/hosts.allow.default ]  || cp /etc/hosts.allow /etc/hosts.allow.default