Ignore:
Timestamp:
11/08/13 10:52:05 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
9.2-release
Children:
8cdae0b
Parents:
02d7a86
Message:

Backport fix to warden jail interfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/warden/scripts/backend/startjail.sh

    r2c39b15 r1bac9dc  
    285285 
    286286IFACE= 
     287 
    287288DEFAULT=0 
    288289 
     
    292293fi 
    293294if [ -z "${IFACE}" ] ; then 
    294    IFACE=`get_default_interface` 
    295    DEFAULT=1 
     295  if [ -n "$NIC" ] ; then 
     296    IFACE="$NIC" 
     297  else 
     298    IFACE=`get_default_interface` 
     299    DEFAULT=1 
     300  fi 
    296301fi 
    297302if [ -z "${IFACE}" ] ; then 
Note: See TracChangeset for help on using the changeset viewer.