Changeset 490 for cdd-utils/trunk/cdd-config
- Timestamp:
- 05/08/08 10:37:24 (7 months ago)
- Files:
-
- 1 modified
-
cdd-utils/trunk/cdd-config (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cdd-utils/trunk/cdd-config
r488 r490 915 915 } 916 916 917 # Configure Dnsmasq to act as integrated DNS/DHCP server, which 918 # automatically updates the zone info when assigning addresses 919 # 920 dnsmasq () { 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 926 dhcp-range=192.168.1.10,192.168.1.100,12h 927 EOF 928 } 929 917 930 # Monit 918 931 monit () {
