Browse Source

Finally remove backwards compat code to support the 'rtsol' keyword

in hostname.if(5)
OK mpi@ deraadt@ florian@
OK jmc@ from doc perspective
OPENBSD_6_2
rpe 7 years ago
parent
commit
5092490691
1 changed files with 1 additions and 8 deletions
  1. +1
    -8
      src/etc/netstart

+ 1
- 8
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: netstart,v 1.185 2017/07/21 20:22:13 rpe Exp $
# $OpenBSD: netstart,v 1.186 2017/07/25 21:17:11 rpe Exp $
# Turn off Strict Bourne shell mode. # Turn off Strict Bourne shell mode.
set +o sh set +o sh
@ -62,13 +62,6 @@ parse_hn_line() {
_cmds[${#_cmds[*]}]="ifconfig $_if ${_c[@]} down;dhclient $_if" _cmds[${#_cmds[*]}]="ifconfig $_if ${_c[@]} down;dhclient $_if"
V4_DHCPCONF=true V4_DHCPCONF=true
;; ;;
rtsol) # XXX Support the rtsol keyword for some time to enable a smooth
# XXX transition to autoconf.
_c[0]=
_cmds[${#_cmds[*]}]="ifconfig $_if ${_c[@]} up"
_cmds[${#_cmds[*]}]="ifconfig $_if inet6 autoconf"
V6_AUTOCONF=true
;;
'!'*) _cmd=$(print -- "${_c[@]}" | sed 's/\$if/'$_if'/g') '!'*) _cmd=$(print -- "${_c[@]}" | sed 's/\$if/'$_if'/g')
_cmds[${#_cmds[*]}]="${_cmd#!}" _cmds[${#_cmds[*]}]="${_cmd#!}"
;; ;;


Loading…
Cancel
Save