Commit 76ffe1fc authored by Pedro Oliveira's avatar Pedro Oliveira

Script for cloning repository

parent b54c7294
rm -rf MulticastRouting/
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
cd pim_dm
python3 Run.py -stop
python3 Run.py -start
......
rm -rf MulticastRouting/
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
cd pim_dm
python3 Run.py -stop
python3 Run.py -start
......
rm -rf MulticastRouting/
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
cd pim_dm
python3 Run.py -stop
python3 Run.py -start
......
rm -rf MulticastRouting/
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
cd pim_dm
python3 Run.py -stop
python3 Run.py -start
......
rm -rf MulticastRouting/
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
cd pim_dm
python3 Run.py -stop
python3 Run.py -start
......
rm -rf MulticastRouting/
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
cd pim_dm
python3 Run.py -stop
python3 Run.py -start
......
rm -rf MulticastRouting/
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
cd pim_dm
python3 Run.py -stop
python3 Run.py -start
......
......@@ -10,6 +10,11 @@ if [ ! -d "netkit-ng" ]; then
tar -xjSf netkit-ng-kernel-i386-K3.2-0.1.3.tar.bz2
fi
if [ ! -d "emulation/shared/root/pim_dm" ]; then
# if project does not exist, clone it
git clone https://github.com/pedrofran12/pim_dm.git emulation/shared/root/pim_dm
fi
export NETKIT_HOME=$(pwd)/netkit-ng
export MANPATH=:$NETKIT_HOME/man
export PATH=$NETKIT_HOME/bin:$PATH
......@@ -22,10 +27,7 @@ if echo $OUTPUT | grep -q "failed"; then
exit
fi
cd ../emulation/
lstart -p
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment