diff options
author | Judd Vinet <judd@archlinux.org> | 2005-10-03 17:58:51 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-10-03 17:58:51 +0000 |
commit | 79142a38d91eaf27a6c677e0a6511f855e57e30d (patch) | |
tree | 64ffa151a3008d9f8cdcaf32ff5a0b246d1d0225 /network | |
parent | 39f5db6e89fd04da3979c11c3b2761ea031cd94d (diff) |
added ability to use the netcfg menu from the NET env var
Diffstat (limited to 'network')
-rwxr-xr-x | network | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |