Changeset 490

Show
Ignore:
Timestamp:
05/08/08 10:37:24 (5 months ago)
Author:
free
Message:

Added support for dnsmasq

Location:
cdd-utils/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • cdd-utils/trunk/cdd-config

    r488 r490  
    915915} 
    916916 
     917# Configure Dnsmasq to act as integrated DNS/DHCP server, which 
     918# automatically updates the zone info when assigning addresses 
     919# 
     920dnsmasq () { 
     921    cfg=/etc/dnsmasq.conf 
     922    if ! exists $cfg; then warning $cfg not found; return; fi 
     923    sed -i -e 's|^#conf-dir=/etc/dnsmasq.d|conf-dir=/etc/dnsmasq.d|g' $cfg 
     924    mkdir -p /etc/dnsmasq.d 
     925    cat <<EOF >> /etc/dnsmasq.d/cdd-utils.conf 
     926dhcp-range=192.168.1.10,192.168.1.100,12h 
     927EOF 
     928} 
     929 
    917930# Monit 
    918931monit () { 
  • cdd-utils/trunk/debian/changelog

    r488 r490  
    88  * Disable cupsys avahi-daemon in indamixx 
    99  * Set trinity APT 
     10  * Added support for dnsmasq 
    1011 
    1112 -- Free Ekanayaka <free@64studio.com>  Sun, 27 Apr 2008 18:24:52 +0200