Projet

Général

Profil

Révision 6995742e

ID6995742e591fcd11088801dced1d08ef83c8da21
Parent 272220c6
Enfant 725d9041, 9b3aa267

Ajouté par Lars Kruse il y a environ 7 ans

Plugins tc_*: check existence of "tc" during autoconf

Voir les différences:

plugins/network/tc_
50 50

  
51 51
case "$1" in
52 52
    autoconf)
53
	if [ -r /proc/net/dev ]; then
54
	    echo yes
55
	else
53
	if [ ! -r /proc/net/dev ]; then
56 54
	    echo "no (/proc/net/dev not found)"
55
	elif [ ! -x /sbin/tc ]; then
56
	    echo "no (missing 'tc' executable)"
57
	else
58
	    echo yes
57 59
	fi
58 60
	exit 0
59 61
	;;

Formats disponibles : Unified diff