4 203
modifications
Ligne 625 : | Ligne 625 : | ||
# | # | ||
gw=`cat /etc/xen-tools/xen-tools.conf | grep gateway` | gw=`cat /etc/xen-tools/xen-tools.conf | grep "gateway ="` | ||
if [ ! ${gw:0:1} = "#" ]; then | if [ ! ${gw:0:1} = "#" ]; then | ||
gateway=`echo $gw | cut -f 2 -d "="` | gateway=`echo $gw | cut -f 2 -d "="` |