Ignore:
Timestamp:
2011-03-06T19:57:09+01:00 (6 years ago)
Author:
cshore
Message:

[net] miniupnpd: Added model_number and serial_number uci options for the root desc xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/miniupnpd/files/miniupnpd.init

    r25899 r25900  
    88        config_load "upnpd" 
    99        local extiface intiface upload download logging secure enabled natpmp 
    10         local extip port usesysuptime conffile 
     10        local extip port usesysuptime conffile serial_number model_number 
    1111 
    1212        config_get extiface config external_iface 
     
    2222        config_get_bool usesysuptime config use_system_uptime 1 
    2323        config_get conffile config config_file 
     24        config_get serial_number config serial_number 
     25        config_get model_number config model_number 
    2426 
    2527        include /lib/network 
     
    6062                        append args "-f $conffile" 
    6163 
     64                [ -n "${serial_number}" ] && \ 
     65                        append args "-s ${serial_number}" 
     66                 
     67                [ -n "${model_number}" ] && \ 
     68                        append args "-m ${model_number}" 
     69                         
    6270                # start firewall 
    6371                local zone 
Note: See TracChangeset for help on using the changeset viewer.