aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-08-24 15:39:52 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-08-24 15:39:52 -0500
commit7c3d1ea2b97cb01ab5755af3278eed461d9b1e3d (patch)
tree333123802e79683b42cebf43af1e34399a1152be
parentMerge README files. (diff)
downloadnetifrc-7c3d1ea2b97cb01ab5755af3278eed461d9b1e3d.tar.gz
netifrc-7c3d1ea2b97cb01ab5755af3278eed461d9b1e3d.tar.bz2
netifrc-7c3d1ea2b97cb01ab5755af3278eed461d9b1e3d.zip
Clarify the "no configuration specified" message
This is not quite correct. The part that is not specified is config_${IFVAR}. It is possible to configure an interface to use DHCP but not specify an address. X-Gentoo-Bug: 482364 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482364
-rw-r--r--init.d/net.lo.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in
index a4e65e9..5ea73c7 100644
--- a/init.d/net.lo.in
+++ b/init.d/net.lo.in
@@ -463,7 +463,7 @@ _load_config()
fi
else
if [ -z "$1" ]; then
- ewarn "No configuration specified; defaulting to DHCP"
+ ewarn "config_${IFVAR} not specified; defaulting to DHCP"
config_0="dhcp"
config_index=1
fi