Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1468 → Rev 1469

/scripts/sbin/alcasar-uninstall.sh
203,8 → 203,9
#network
echo -en "\n- network(9) : "
hostname localhost
EXTIF=`/sbin/ip route|grep default|cut -d" " -f5`
INTIF=`/sbin/ip link|grep '^[[:digit:]]:'|grep -v "lo\|$EXTIF"|cut -d" " -f2|tr -d ":"`
CONF_FILE="/usr/local/etc/alcasar.conf"
EXTIF=`grep ^EXTIF= $CONF_FILE|cut -d"=" -f2` # EXTernal InterFace
INTIF=`grep ^INTIF= $CONF_FILE|cut -d"=" -f2` # INTernal InterFace
i=0
for nic in $EXTIF $INTIF
do