Changeset 1301


Ignore:
Timestamp:
08/27/04 14:06:35 (10 years ago)
Author:
anonymous
Message:

ajout de la modification de /usr/share/alternc/install/etc/bind/named.conf si
AlternC est install� sur le serveur ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/postinst

    r1298 r1301  
    44    configure) 
    55 
    6     # Configure alternc-slavedns 
     6    touch /etc/bind/slavedns.conf 
     7    # Configure alternc-slavedns (if an alternc is installed on this server ...) 
     8    if [ -f /usr/share/alternc/install/etc/bind/named.conf ] 
     9        then 
     10         
     11        if grep -q "include \"/etc/bind/slavedns.conf\";" /usr/share/alternc/install/etc/bind/named.conf 
     12            then 
     13            echo "Named for AlternC already configured ..." 
     14        else 
     15            echo "include \"/etc/bind/slavedns.conf\";" >>/usr/share/alternc/install/etc/bind/named.conf 
     16        fi 
     17    fi 
    718    # Configuring bind  
    819    if grep -q "include \"/etc/bind/slavedns.conf\";" /etc/bind/named.conf 
     
    1122    else 
    1223        echo "include \"/etc/bind/slavedns.conf\";" >>/etc/bind/named.conf 
    13         touch /etc/bind/slavedns.conf 
    1424        # Reloading bind :  
    1525        if [ -e "/etc/init.d/bind" ] 
Note: See TracChangeset for help on using the changeset viewer.