Changeset 43c8ecf


Ignore:
Timestamp:
05/10/13 11:10:07 (18 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
32fa0a6, 8a468b2
Parents:
a68c384
Message:

Fix a few typos

File:
1 edited

Legend:

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

    ra68c384 r43c8ecf  
    156156 
    157157  # Check if somebody snuck in a IP without / on it 
    158   echo $IPV4 | grep -q '/'  
     158  echo $IP4 | grep -q '/'  
    159159  if [ $? -ne 0 ] ; then 
    160      IPV4="${IPV4}/24" 
     160     IP4="${IP4}/24" 
    161161  fi 
    162162fi 
     
    174174  IP6=`cat "${JMETADIR}/ipv6"` 
    175175  # Check if somebody snuck in a IP without / on it 
    176   echo $IPV6 | grep -q '/'  
     176  echo $IP6 | grep -q '/'  
    177177  if [ $? -ne 0 ] ; then 
    178      IPV6="${IPV6}/64" 
     178     IP6="${IP6}/64" 
    179179  fi 
    180180fi 
     
    281281# Configure the IPv4 addresses 
    282282if [ -n "${IP4}" ] ; then 
     283   echo "Setting IP4 address: ${IP4}" 
    283284   jexec ${JID} ifconfig ${EPAIRB} inet "${IP4}" 
    284285fi 
     
    297298# Configure the IPv6 addresses 
    298299if [ -n "${IP6}" ] ; then 
     300   echo "Setting IP6 address: ${IP6}" 
    299301   jexec ${JID} ifconfig ${EPAIRB} inet6 "${IP4}" 
    300302fi 
Note: See TracChangeset for help on using the changeset viewer.