Ignore:
Timestamp:
11/08/13 10:52:05 (10 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/stopjail.sh

    r2c39b15 r1bac9dc  
    5252fi 
    5353if [ -z "${IFACE}" ] ; then 
    54    IFACE=`get_default_interface` 
    55    DEFAULT=1 
     54  if [ -n "$NIC" ] ; then 
     55    IFACE="$NIC" 
     56  else 
     57    IFACE=`get_default_interface` 
     58    DEFAULT=1 
     59  fi 
    5660fi 
    5761if [ -z "${IFACE}" ] ; then 
Note: See TracChangeset for help on using the changeset viewer.