Safe to add TC_ENABLE=1 to tc_stop() function?
Bastian Kleineidam
email hidden
Fri Dec 16 19:19:12 CET 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I see that in "/etc/init.d/fiaif tc-stop" there is a TC_ENABLE=1 before
calling tc_stop. Shouldn't this be always set when calling tc_stop()?
For example when fiaif is started with traffic shaping enabled, then
the config is changed to disable it. After that a call to "fiaif stop"
will call tc_stop with TC_ENABLED=0, which does not remove the qdiscs.
So is it safe always to have TC_ENABLED=1 in tc_stop() function to
ensure the qdiscs are removed, or could some other part of traffic
shaping break with this setting?
Regards,
Bastian
- --
,''`. Bastian Kleineidam
: :' : GnuPG Schlüssel
`. `' gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E
`-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDowUgeBwlBDLsbz4RAqXaAKC2p+AZxMo0oZJICQkVUkx698m4ZQCdE3q0
gvocauMGNAAGB8OcHwzjQPE=
=QFbr
-----END PGP SIGNATURE-----
More information about the fiaif
mailing list