Changeset 25897


Ignore:
Timestamp:
2011-03-06T19:56:59+01:00 (7 years ago)
Author:
cshore
Message:

[packages] miniupnpd: Added option to change port. Default set to 5000 as before, port 'auto' set to result in a random port being used.

File:
1 edited

Legend:

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

    r25896 r25897  
    1313        config_get intiface config internal_iface 
    1414        config_get extip config external_ip 
     15        config_get port config port 5000 
    1516        config_get upload   config upload 
    1617        config_get download config download 
     
    3940                done 
    4041 
    41                 append args "-p 5000 -U" 
     42                [ "$port" != "auto" ] && \ 
     43                        append args "-p $port" 
     44                 
     45                append args "-U" 
    4246 
    4347                [ -n "$upload" -a -n "$download" ] && \ 
Note: See TracChangeset for help on using the changeset viewer.