From a54149a9ed8c7da00b73bfe1d7fcfe72b62358c3 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Wed, 30 Apr 2008 16:29:15 +0000 Subject: [PATCH] Emit a warning when the network_interfaces variable is not set to AUTO. MFC after: 3 days --- etc/network.subr | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/network.subr b/etc/network.subr index e9be52cadfca..315de61dca79 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -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