Changeset 25902


Ignore:
Timestamp:
2011-03-06T20:14:11+01:00 (7 years ago)
Author:
cshore
Message:

[net] miniupnpd: Added uci option notify_interval and presentation_url

File:
1 edited

Legend:

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

    r25901 r25902  
    99        local extiface intiface upload download logging secure enabled natpmp 
    1010        local extip port usesysuptime conffile serial_number model_number 
    11         local uuid 
     11        local uuid notify_interval presentation_url 
    1212 
    1313        config_get extiface config external_iface 
     
    2626        config_get model_number config model_number 
    2727        config_get uuid config uuid 
     28        config_get notify_interval config notify_interval 
     29        config_get presentation_url config presentation_url 
    2830 
    2931        include /lib/network 
     
    7981                        append args "-u $uuid" 
    8082                 
     83                [ -n "${notify_interval}" ] && \ 
     84                        append args "-t ${notify_interval}" 
     85                         
     86                [ -n "${presentation_url}" ] && \ 
     87                        append args "-w \"${presentation_url}\""                         
    8188                # start firewall 
    8289                local zone 
Note: See TracChangeset for help on using the changeset viewer.