Commit da3a1175 authored by Pedro Oliveira's avatar Pedro Oliveira

Clone repository instead of copying from Desktop to netkit

parent 2529bb82
rm -rf MulticastRouting/ cd pim_dm
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py -stop python3 Run.py -stop
python3 Run.py -start python3 Run.py -start
......
rm -rf MulticastRouting/ cd pim_dm
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py -stop python3 Run.py -stop
python3 Run.py -start python3 Run.py -start
......
rm -rf MulticastRouting/ cd pim_dm
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py -stop python3 Run.py -stop
python3 Run.py -start python3 Run.py -start
......
rm -rf MulticastRouting/ cd pim_dm
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py -stop python3 Run.py -stop
python3 Run.py -start python3 Run.py -start
......
rm -rf MulticastRouting/ cd pim_dm
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py -stop python3 Run.py -stop
python3 Run.py -start python3 Run.py -start
......
rm -rf MulticastRouting/ cd pim_dm
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py -stop python3 Run.py -stop
python3 Run.py -start python3 Run.py -start
......
rm -rf MulticastRouting/ cd pim_dm
cp -rf /hosthome/Desktop/pim/ MulticastRouting/
cd MulticastRouting
#pip-3.2 install --index-url=https://pypi.python.org/simple/ -r requirements.txt
python3 Run.py -stop python3 Run.py -stop
python3 Run.py -start python3 Run.py -start
......
...@@ -10,6 +10,11 @@ if [ ! -d "netkit-ng" ]; then ...@@ -10,6 +10,11 @@ if [ ! -d "netkit-ng" ]; then
tar -xjSf netkit-ng-kernel-i386-K3.2-0.1.3.tar.bz2 tar -xjSf netkit-ng-kernel-i386-K3.2-0.1.3.tar.bz2
fi 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 NETKIT_HOME=$(pwd)/netkit-ng
export MANPATH=:$NETKIT_HOME/man export MANPATH=:$NETKIT_HOME/man
export PATH=$NETKIT_HOME/bin:$PATH export PATH=$NETKIT_HOME/bin:$PATH
...@@ -22,10 +27,7 @@ if echo $OUTPUT | grep -q "failed"; then ...@@ -22,10 +27,7 @@ if echo $OUTPUT | grep -q "failed"; then
exit exit
fi fi
cd ../emulation/ cd ../emulation/
lstart -p 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