aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-10-03 17:58:51 +0000
committerJudd Vinet <judd@archlinux.org>2005-10-03 17:58:51 +0000
commit79142a38d91eaf27a6c677e0a6511f855e57e30d (patch)
tree64ffa151a3008d9f8cdcaf32ff5a0b246d1d0225 /network
parent39f5db6e89fd04da3979c11c3b2761ea031cd94d (diff)
downloadinitscripts-79142a38d91eaf27a6c677e0a6511f855e57e30d.tar.xz
added ability to use the netcfg menu from the NET env var
Diffstat (limited to 'network')
-rwxr-xr-xnetwork6
1 files changed, 5 insertions, 1 deletions
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