modified makefile (install), conf/prometheus
[svn/Prometheus-QoS/.git] / check-kernel-qos
CommitLineData
a4f661fc 1#!/bin/bash
2
3echo -n "Checking for HTB support (2.6.x Linux kernel series only) ..."
4HTB=`cat /proc/config.gz |gunzip|grep CONFIG_NET_SCH_HTB`
5if [ "$HTB" = "CONFIG_NET_SCH_HTB=y" ] || [ "$HTB" = "CONFIG_NET_SCH_HTB=m" ]
6then
7 echo " ok."
8else
9 echo " failed!"
10 echo "** Missing /proc/config.gz, missing gunzip, or missing HTB support in kernel.. **"
11 echo "** You are likely to get RTNETLINK error messages when running Prometheus QoS. **"
12fi
13
14echo -n "Checking for SFQ support (2.6.x Linux kernel series only) ..."
15SFQ=`cat /proc/config.gz |gunzip|grep CONFIG_NET_SCH_SFQ`
16if [ "$SFQ" = "CONFIG_NET_SCH_SFQ=y" ] || [ "$SFQ" = "CONFIG_NET_SCH_SFQ=m" ]
17then
18 echo " ok."
19else
20 echo " failed!"
21 echo "** Missing /proc/config.gz, missing gunzip, or missing SFQ support in kernel.. **"
22 echo "** You are likely to get RTNETLINK error messages when running Prometheus QoS. **"
23fi
24
This page took 0.136539 seconds and 4 git commands to generate.