|
@ -1,7 +1,7 @@ |
|
|
|
|
|
|
|
|
#apt source |
|
|
#apt source |
|
|
|
|
|
|
|
|
echo << 'EOF' > /etc/apt/sources.list.d/debian.list |
|
|
|
|
|
|
|
|
cat << 'EOF' > /etc/apt/sources.list.d/debian.list |
|
|
deb http://freedom.dicea.unifi.it/debian/ wheezy main |
|
|
deb http://freedom.dicea.unifi.it/debian/ wheezy main |
|
|
deb http://security.debian.org/ wheezy/updates main |
|
|
deb http://security.debian.org/ wheezy/updates main |
|
|
deb http://freedom.dicea.unifi.it/debian/ wheezy-updates main |
|
|
deb http://freedom.dicea.unifi.it/debian/ wheezy-updates main |
|
@ -23,15 +23,15 @@ apt-get install rsyslog -y -q |
|
|
|
|
|
|
|
|
#email alias |
|
|
#email alias |
|
|
if [ `grep -c "root: " /etc/aliases` -lt 1 ]; then |
|
|
if [ `grep -c "root: " /etc/aliases` -lt 1 ]; then |
|
|
echo "root: roots@lilik.it" >> /etc/aliases |
|
|
|
|
|
|
|
|
cat "root: roots@lilik.it" >> /etc/aliases |
|
|
else |
|
|
else |
|
|
echo "alias for root alredy exists:" |
|
|
|
|
|
|
|
|
cat "alias for root alredy exists:" |
|
|
grep "root: " /etc/aliases |
|
|
grep "root: " /etc/aliases |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
apt-get install exim4 -y -q |
|
|
apt-get install exim4 -y -q |
|
|
|
|
|
|
|
|
echo << 'EOF' > /etc/exim4/update-exim4.conf.conf |
|
|
|
|
|
|
|
|
cat << 'EOF' > /etc/exim4/update-exim4.conf.conf |
|
|
# /etc/exim4/update-exim4.conf.conf |
|
|
# /etc/exim4/update-exim4.conf.conf |
|
|
# |
|
|
# |
|
|
# Edit this file and /etc/mailname by hand and execute update-exim4.conf |
|
|
# Edit this file and /etc/mailname by hand and execute update-exim4.conf |
|
@ -74,7 +74,7 @@ apt-get install cron-apt -y |
|
|
|
|
|
|
|
|
sed -i 's/#[\t ]*dist-upgrade -y -o APT::Get::Show-Upgraded=true/dist-upgrade -y -o APT::Get::Show-Upgraded=true/g' /etc/locale.gen |
|
|
sed -i 's/#[\t ]*dist-upgrade -y -o APT::Get::Show-Upgraded=true/dist-upgrade -y -o APT::Get::Show-Upgraded=true/g' /etc/locale.gen |
|
|
|
|
|
|
|
|
echo << 'EOF' >/etc/cron-apt/config |
|
|
|
|
|
|
|
|
cat << 'EOF' >/etc/cron-apt/config |
|
|
# Configuration for cron-apt. For further information about the possible |
|
|
# Configuration for cron-apt. For further information about the possible |
|
|
# configuration settings see /usr/share/doc/cron-apt/README.gz. |
|
|
# configuration settings see /usr/share/doc/cron-apt/README.gz. |
|
|
|
|
|
|
|
|