From 0533e1cc1ec8f89baffd48c059f3be809da40bdb Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Tue, 17 Aug 2010 00:30:25 -0700 Subject: [PATCH] Remove hard-wired /home/mininet directory. --- util/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/install.sh b/util/install.sh index dd84f84..020ac7d 100755 --- a/util/install.sh +++ b/util/install.sh @@ -69,7 +69,7 @@ function mn_deps { sudo apt-get install -y screen psmisc xterm ssh iperf iproute python-setuptools #Add sysctl parameters as noted in the INSTALL file to increase kernel limits to support larger setups: - sudo su -c "cat /home/mininet/mininet/util/sysctl_addon >> /etc/sysctl.conf" + sudo su -c "cat $HOME/mininet/util/sysctl_addon >> /etc/sysctl.conf" #Load new sysctl settings: sudo sysctl -p @@ -194,7 +194,7 @@ function cbench { git clone git://www.openflow.org/oflops.git cd oflops sh boot.sh - ./configure --with-openflow-src-dir=/home/mininet/openflow + ./configure --with-openflow-src-dir=$HOME/openflow make sudo make install || true # make install fails; force past this }