nse-install 260 Bytes
Newer Older
1
2
#!/bin/sh
if [ ! -d ns-2 ]; then
3
4
5
    echo "Downloading ns2.1b9 source ..."
    fetch http://www.emulab.net/ns-allinone-2.1b9.tar.gz
    tar xzf ns-allinone-2.1b9.tar.gz
6
    patch -p0 < nse.patch
7
    cd ns-allinone-2.1b9
8
    ./install
9
    cp ns-2.1b9/nse ..
10
fi