#!/bin/sh IFCONFIG=`which ifconfig` if [ "x$IFCONFIG" = "x" ]; then # better than nothing... IFCONFIG=/sbin/ifconfig fi $IFCONFIG tap0 192.168.7.1