Emit a warning when the network_interfaces variable is not set to AUTO.
MFC after: 3 days
This commit is contained in:
parent
bfa82ae8b0
commit
a54149a9ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178695
@ -730,6 +730,10 @@ list_net_interfaces()
|
|||||||
_tmplist="${_lo}${_tmplist}"
|
_tmplist="${_lo}${_tmplist}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
if [ -z "$type"]; then
|
||||||
|
warn "Values of network_interfaces other than" \
|
||||||
|
"AUTO are deprecated"
|
||||||
|
fi
|
||||||
_tmplist="${network_interfaces} ${cloned_interfaces}"
|
_tmplist="${network_interfaces} ${cloned_interfaces}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user