Changeset 36508


Ignore:
Timestamp:
2013-05-02T02:49:05+02:00 (5 years ago)
Author:
luka
Message:

[packages] tinc: fix init.d/tinc parameter generation and logfile config name

tinc expects long parameters to be in the form "--name=value" and the
current init scripts generate "--name value" parameters. See `tincd
--help` to confirm. Also, the config/tinc and init.d/tinc incorrectly
use the parameter "log" when it should be "logfile".

Signed-off-by: Sandy McArthur, Jr. <Sandy@…>

Location:
packages/net/tinc/files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/tinc/files/tinc.config

    r29166 r36508  
    55        #option generate_keys 0 
    66        #option key_size 2048 
    7         #option log /tmp/log/tinc.NETNAME.log 
     7        #option logfile /tmp/log/tinc.NETNAME.log 
    88        #option debug 3 
    99 
  • packages/net/tinc/files/tinc.init

    r35053 r36508  
    4343                IFS="$LIST_SEP" 
    4444                for v in $v; do 
    45                         [ -n "$v" ] && append_param "$p" && ARGS="$ARGS $v" 
     45                        [ -n "$v" ] && append_param "$p" && ARGS="$ARGS=$v" 
    4646                done 
    4747                unset IFS 
     
    170170 
    171171        # append params 
    172         append_params "$s" log debug 
     172        append_params "$s" logfile debug 
    173173 
    174174        SERVICE_PID_FILE="/var/run/tinc.$s.pid" 
Note: See TracChangeset for help on using the changeset viewer.