X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=sbin%2Fnetcardconfig;h=3a8036621a080c76da3d60c4744ebc10fb5cbe18;hb=0129d4078b03e9f0919ad24368c4e88189b9702c;hp=e3d0d111bf7864b9f49ed0022b6b96377aa71c22;hpb=9792465a8ddd55f49e8994d4abf0a78652992caf;p=grml-network.git diff --git a/sbin/netcardconfig b/sbin/netcardconfig index e3d0d11..3a80366 100755 --- a/sbin/netcardconfig +++ b/sbin/netcardconfig @@ -420,10 +420,11 @@ configiface() { fi # Configure VLAN on this interface? - if $DIALOG --yesno "$MESSAGE16" 8 45; then + if $DIALOG --defaultno --yesno "$MESSAGE16" 8 45; then $DIALOG --inputbox "$MESSAGE17 $DV" 10 45 2>"$TMP" || bailout 1 read -r VLAN <"$TMP" ; rm -f "$TMP" if [ -n "$VLAN" ]; then + modprobe 8021q # avoid warning that VLAN support isn't present yet PDV=$DV DV="vlan$VLAN" fi