Changeset 18491


Ignore:
Timestamp:
2009-11-23T01:35:38+01:00 (7 years ago)
Author:
florian
Message:

[package] do not ignore enabled option in init script, bump release number (#6072)

Location:
packages/net/miniupnpd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/miniupnpd/Makefile

    r17790 r18491  
    1111PKG_NAME:=miniupnpd 
    1212PKG_VERSION:=1.3 
    13 PKG_RELEASE:=4 
     13PKG_RELEASE:=5 
    1414PKG_MD5SUM:=b5e70e80dcf45b424b8fe3c966bdc613 
    1515 
  • packages/net/miniupnpd/files/miniupnpd.init

    r17680 r18491  
    44start() { 
    55        config_load "upnpd" 
    6         local extiface intiface upload download logging secure 
     6        local extiface intiface upload download logging secure enabled 
    77 
    88        config_get extiface config external_iface 
     
    1212        config_get_bool logging config log_output 0 
    1313        config_get_bool secure config secure_mode 0 
     14        config_get_bool enabled config enabled 0  
    1415 
    1516        include /lib/network 
     
    3839 
    3940                if [ "$logging" = "1" ]; then 
    40                         eval start-stop-daemon -S -x miniupnpd -- $args -d | logger -t miniupnpd & 
     41                        [ "$enabled" -gt 0 ] && eval start-stop-daemon -S -x miniupnpd -- $args -d | logger -t miniupnpd & 
    4142                else 
    42                         eval start-stop-daemon -S -x miniupnpd -- $args 2>/dev/null 
     43                        [ "$enabled" -gt 0 ] && eval start-stop-daemon -S -x miniupnpd -- $args 2>/dev/null 
    4344                fi 
    4445 
Note: See TracChangeset for help on using the changeset viewer.