Changeset 9440


Ignore:
Timestamp:
2007-10-24T23:08:54+02:00 (10 years ago)
Author:
thepeople
Message:

convert the rest of /etc/dnsmasq.conf to uci

Location:
trunk/package/dnsmasq
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/dnsmasq/Makefile

    r9200 r9440  
    4747        $(INSTALL_DIR) $(1)/etc/config 
    4848        $(INSTALL_DATA) ./files/dhcp.conf $(1)/etc/config/dhcp 
    49         $(INSTALL_DATA) ./files/dnsmasq.conf $(1)/etc/dnsmasq.conf 
    5049        $(INSTALL_DIR) $(1)/etc/init.d 
    5150        $(INSTALL_BIN) ./files/dnsmasq.init $(1)/etc/init.d/dnsmasq 
  • trunk/package/dnsmasq/files/dhcp.conf

    r8437 r9440  
     1config dnsmasq 
     2        option domainneeded     1 
     3        option boguspriv        1 
     4        option filterwin2k      '0'  #enable for dial on demand 
     5        option localise_queries 1 
     6        option local    '/lan/' 
     7        option domain   'lan' 
     8        option expandhosts      1 
     9        option nonegcache       0 
     10        option authoritative    1 
     11        option readethers       1 
     12        option leasefile        '/tmp/dhcp.leases' 
     13        option resolvfile       '/tmp/resolv.conf.auto' 
     14 
    115config dhcp 
    216        option interface        lan 
  • trunk/package/dnsmasq/files/dnsmasq.init

    r9028 r9440  
    5151        append_bool "$cfg" readethers "-Z" 
    5252        append_bool "$cfg" dbus "-l" 
     53        append_bool "$cfg" boguspriv "-b" 
     54        append_bool "$cfg" expandhosts "-E" 
    5355 
    5456        append_parm "$cfg" dnsforwardmax "-0" 
     
    5658        append_parm "$cfg" ednspacket_max "-P" 
    5759        append_parm "$cfg" dhcpleasemax "-X" 
    58  
    59         config_get addnhosts "$cfg" addnhosts 
    60         config_get interface "$cfg" interface 
    61         config_get exceptinterface "$cfg" exceptinterface 
    62         config_get queryport "$cfg" queryport 
    63         config_get domain "$cfg" domain 
     60        append_parm "$cfg" "addnhosts" "-H" 
     61        append_parm "$cfg" "queryport" "-Q" 
     62        append_parm "$cfg" "domain" "-s" 
     63        append_parm "$cfg" "local" "-S" 
     64        append_parm "$cfg" "leasefile" "-l" 
     65        append_parm "$cfg" "resolvfile" "-r" 
    6466} 
    6567 
Note: See TracChangeset for help on using the changeset viewer.