[BACK]Return to netstart CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/netstart between version 1.186 and 1.187

version 1.186, 2017/07/25 21:17:11 version 1.187, 2017/11/12 21:58:00
Line 75 
Line 75 
 # Start a single interface.  # Start a single interface.
 # Usage: ifstart if1  # Usage: ifstart if1
 ifstart() {  ifstart() {
         local _if=$1 _hn=$HN_DIR/hostname.$1 _cmds _i=0 _line _stat          local _if=$1 _hn=/etc/hostname.$1 _cmds _i=0 _line _stat
         set -A _cmds          set -A _cmds
   
         # Interface names must be alphanumeric only.  We check to avoid          # Interface names must be alphanumeric only.  We check to avoid
Line 163 
Line 163 
 FUNCS_ONLY=1 . /etc/rc.d/rc.subr  FUNCS_ONLY=1 . /etc/rc.d/rc.subr
 _rc_parse_conf  _rc_parse_conf
   
 HN_DIR=${HN_DIR:-/etc}  
 PRINT_ONLY=false  PRINT_ONLY=false
 USAGE="USAGE: ${0##*/} [-n] [interface ...]"  USAGE="USAGE: ${0##*/} [-n] [interface ...]"
 V4_DHCPCONF=false  V4_DHCPCONF=false

Legend:
Removed from v.1.186  
changed lines
  Added in v.1.187