Changeset 10631 in hybrid


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

Allow displaying the flags when calling service lvrouted rcvar

Location:
branches/releng-9.0/nanobsd/ports/net/lvrouted
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-9.0/nanobsd/ports/net/lvrouted/Makefile

    r10612 r10631  
    88PORTNAME=       lvrouted
    99PORTVERSION=    9413
     10PORTREVISION=   1
    1011CATEGORIES=     net
    1112MASTER_SITES=   http://webfolder.wirelessleiden.nl/lvrouted/ \
  • 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.