?? up
字號:
START=$1
STOP=$2
NUM=`expr $STOP - $START`
NUM=`expr $NUM + 1`
TEMP=${START}
if [ $1 -lt "1" ]; then
exit
fi
echo "Setting interface eth0 promisc mode"
ifconfig eth0 promisc
echo "Launch vmeth drive...."
insmod vmeth.o card_num=${NUM}
sleep 10
echo "Copying interface config file to sys directory"
while [ $TEMP -le $STOP ]
do
cp -f ./ifcfg/ifcfg-eth${TEMP} /etc/sysconfig/network-scripts
TEMP=`expr $TEMP + 1`
done
dhclient
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -