Revision cc16d2ce

View differences:

util/install.sh
11 11
# Location of CONFIG_NET_NS-enabled kernel(s)
12 12
KERNEL_LOC=http://www.openflow.org/downloads/mininet
13 13

  
14
DIST=`lsb_release -is`
14
test -e /etc/debian_version && DIST="Debian"
15
grep Ubuntu /etc/lsb-release &> /dev/null && DIST="Ubuntu"
15 16

  
16 17
# Kernel params
17 18
# These kernels have been tried:
......
27 28
    exit 1
28 29
fi
29 30

  
31
echo "Detected Linux distribution: $DIST"
32

  
30 33
# Kernel Deb pkg to be removed:
31 34
KERNEL_IMAGE_OLD=linux-image-2.6.26-2-686
32 35

  

Also available in: Unified diff