3 # Figure out what system we are running on
4 if [ -f /etc/lsb-release ];then
6 elif [ -f /etc/redhat-release ];then
7 yum install -y redhat-lsb
8 DISTRIB_ID=`lsb_release -si`
9 DISTRIB_RELEASE=`lsb_release -sr`
10 DISTRIB_CODENAME=`lsb_release -sc`
11 DISTRIB_DESCRIPTION=`lsb_release -sd`
14 if [ $DISTRIB_ID == "CentOS" ]; then
15 # Install uio-pci-generic
16 modprobe uio_pci_generic
18 echo "Starting VPP..."
19 if [ $DISTRIB_ID == "Ubuntu" ] && [ $DISTRIB_CODENAME = "trusty" ] ; then