On Fri, 2004-07-09 at 08:13, Rodolfo J. Paiz wrote: > At 04:56 PM 7/8/2004, Kenneth Porter wrote: > >Much of the ip stuff is managed by the interface up/down scripts, so > >perhaps tc-specific state should also be stored there. > > An even more attractive alternative: Shorewall (my preferred firewall > package) does have a place to put "tc" commands so they're executed by the > firewall. I'll try to understand and implement Ow Mun Heng's script and put > it in /etc/shorewall/tcstart. Actually, if you don't want to integrate it with shorewall, it's also fine. You just need to create a new initscript for it. I've done it a few times, eg: when I wanted to make sure that once I detect I'm running on battery, I stick to the min freq of 600Mhz. I would say it works. And I doubt doing the iptables-save routine will actually save the tc rules. I may be wrong... but... -- Ow Mun Heng Fedora GNU/Linux Core 2 (Tettnang) on D600 1.4Ghz CPU kernel 2.6.7-2.jul1-interactive Neuromancer 09:49:36 up 56 min, 3 users, load average: 0.48, 0.74, 0.76