qos |
Subversion Repositories: |
Rev 1 | Rev 22 | |
---|---|---|
Line 3... | Line 3... | |
# |
# | |
# author: Dzus |
# author: Dzus | |
# version: 1.0.0 |
# version: 1.0.0 | |
# |
# | |
# Changelog: |
# Changelog: | |
# 09/11/07 [simandl] prejmenovano | ||
# 22/09/03 [dzus] Doplnen changelog a cislo verze - skript uvolnen pro verejnost |
# 22/09/03 [dzus] Doplnen changelog a cislo verze - skript uvolnen pro verejnost | |
# 13/09/03 [dzus] Vytvoreni zakladni verze skriptu |
# 13/09/03 [dzus] Vytvoreni zakladni verze skriptu | |
# |
# | |
# ToDo: |
# ToDo: | |
# * barevny vystup |
# * barevny vystup | |
Line 16... | Line 17... | |
$IFACE=$ARGV[0]; |
$IFACE=$ARGV[0]; | |
|
| |
$CLASSINFOFILENAME='classinfo'; |
$CLASSINFOFILENAME='classinfo'; | |
|
| |
if (!defined ($IFACE)) { |
if (!defined ($IFACE)) { | |
$IFACE = "wlan0"; |
$IFACE = "ath0"; | |
print "Default device selected ($IFACE)\n"; |
print "Default device selected ($IFACE)\n"; | |
} |
} | |
|
| |
#$TC = `which tc`; |
#$TC = `which tc`; | |
$TC = "/sbin/tc"; |
$TC = "/sbin/tc"; |