Changeset 44747


Ignore:
Timestamp:
2015-03-13T09:39:08+01:00 (3 years ago)
Author:
blogic
Message:

dnsmasq: enable pxe-prompt, pxe-service config options

DNSMASQ has the ability to provide a menu to a pxeboot system, using
the --pxe-prompt and --pxe-service configuration options. The current
init.d script converting the "dhcp" file to "dnsmasq.conf" does not
find these options, but they are supported. This patch thus enables
the options.

Signed-off-by: Derek LaHousse <dlahouss@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/services/dnsmasq/files/dnsmasq.init

    r44744 r44747  
    106106append_bogusnxdomain() { 
    107107        xappend "--bogus-nxdomain=$1" 
     108} 
     109 
     110append_pxe_service() { 
     111        xappend "--pxe-service=$1" 
    108112} 
    109113 
     
    152156        append_parm "$cfg" "dhcp_boot" "--dhcp-boot" 
    153157        append_parm "$cfg" "local_ttl" "--local-ttl" 
    154  
     158        append_parm "$cfg" "pxe_prompt" "--pxe-prompt" 
     159        config_list_foreach "$cfg" "pxe_service" append_pxe_service 
    155160        config_get DOMAIN "$cfg" domain 
    156161 
Note: See TracChangeset for help on using the changeset viewer.