Emit a warning when the network_interfaces variable is not set to AUTO.

MFC after:	3 days
This commit is contained in:
Brooks Davis 2008-04-30 16:29:15 +00:00
parent bfa82ae8b0
commit a54149a9ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178695

View File

@ -730,6 +730,10 @@ list_net_interfaces()
_tmplist="${_lo}${_tmplist}"
;;
*)
if [ -z "$type"]; then
warn "Values of network_interfaces other than" \
"AUTO are deprecated"
fi
_tmplist="${network_interfaces} ${cloned_interfaces}"
;;
esac