[BACK]Return to dhcpcd CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/rc.d/dhcpcd between version 1.1 and

version 1.1, 2009/04/28 23:30:34 version, 2018/07/27 10:43:18
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
   # $NetBSD$
 # PROVIDE: dhcpcd  # PROVIDE: dhcpcd
 # REQUIRE: network mountcritlocal  # REQUIRE: network mountcritlocal
Line 9  $_rc_subr_loaded . /etc/rc.subr
Line 11  $_rc_subr_loaded . /etc/rc.subr
 name=dhcpcd  name=dhcpcd
 rcvar=$name  rcvar=$name
 command=/sbin/$name  command=/sbin/$name
 pidfile=/var/run/$name.pid  extra_commands="reload"
 load_rc_config $name  load_rc_config $name
   # Work out what pidfile dhcpcd will use based on flags
   if [ -n "$flags" ]; then
           eval myflags=\$${name}_flags
   pidfile=$(eval $command -P $myflags 2>/dev/null)
   : ${pidfile:=/var/run/$name.pid}
   unset myflags
 run_rc_command "$1"  run_rc_command "$1"

Removed from v.1.1  
changed lines
  Added in v.

CVSweb <webmaster@jp.NetBSD.org>