Package appliance-caching-dns: Scripts

Post install

1
2
3
4
5
6
7
8
9
chkconfig bind on
if [ -z "$DURING_INSTALL" ]; then
    /sbin/service bind start
fi

if ! egrep -q '^nameserver 127.0.0.1$'; then
    echo "nameserver 127.0.0.1" > /etc/resolv.conf
    /sbin/update_chrooted all
fi