From 79142a38d91eaf27a6c677e0a6511f855e57e30d Mon Sep 17 00:00:00 2001 From: Judd Vinet Date: Mon, 3 Oct 2005 17:58:51 +0000 Subject: added ability to use the netcfg menu from the NET env var --- network | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'network') diff --git a/network b/network index 23629bf..978a4fe 100755 --- a/network +++ b/network @@ -165,7 +165,11 @@ case "$1" in # See if we're using network profiles if [ "$NET" ]; then # This env var is passed from the kernel boot line - /usr/bin/netcfg $NET + if [ "$NET" = "menu" ]; then + /usr/bin/netcfg --menu --timeout 5 + else + /usr/bin/netcfg $NET + fi elif [ "$NET_PROFILES" ]; then if [ "$NET_PROFILES" = "menu" ]; then /usr/bin/netcfg --menu --timeout 5 -- cgit v1.2.3