Ignore:
Timestamp:
May 1, 2012, 11:11:38 AM (13 years ago)
Author:
rick
Message:

Allow displaying the flags when calling service lvrouted rcvar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/ports/net/lvrouted/files/lvrouted.in

    r10612 r10631  
    55# KEYWORD: nojail
    66
    7 lvrouted_enable=${lvrouted_enable:-"NO"}
    8 lvrouted_flags=${lvrouted_flags:-}
    9 
    107. /etc/rc.subr
    118
     9: ${lvrouted_enable="NO"}
     10: ${lvrouted_flags=""}
     11
    1212name="lvrouted"
    13 rcvar=`set_rcvar`
     13rcvar="`set_rcvar`"
     14rcvars="${name}_flags"
    1415load_rc_config $name
    1516
    1617command="%%PREFIX%%/sbin/${name}"
    17 
    1818pid_file="/var/run/${name}.pid"
    1919
     
    3737        done
    3838}
    39        
     39
    4040run_rc_command "$1"
Note: See TracChangeset for help on using the changeset viewer.