#!/bin/sh
ifconfig lo 127.0.0.1
mount none /proc -t proc
mount n /dev/pts -t devpts
mount n /proc/bus/usb -t usbfs
echo /sbin/mdev > /proc/sys/kernel/hotplug
export PS1="Godson2@\w>"
export PATH=/mnt/bin:$PATH
telnetd
#ifconfig eth0 172.20.0.1
mount n /sys -t sysfs
echo login
cat /proc/cmdline|grep -q test && reboot

ifconfig eth0 up
ifconfig eth1 up
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
ifconfig br0 up
echo './stressapptest -A -s 999999 2>&1 |tee /tmp/stress.txt &'
echo hping3 -2 --keep  --flood -s 2000 -p 1000 192.168.112.1

