[Cerowrt-devel] [sqm-scripts] not started at boot?
toke at toke.dk
Sun Feb 15 10:00:56 EST 2015
Alan Jenkins <alan.christopher.jenkins at gmail.com> writes:
> It's very effective, but I notice SQM isn't applied at boot time. The
> system log complains about pppoe-wan interface not existing, when the
> sqm init script is started.
Ah, that makes sense I suppose: PPPOE is probably brought up too late
for the SQM init script to pick it up.
> qos-scripts has a hotplug script, so I copied it for sqm and the
> problem is "fixed". Though my stupid script re-runs the sqm as every
> single network interface comes up, so it spams the log and probably
> slows things down a bit. (Maybe sqm script also wants to not be so
> noisy in the log)
I'm attaching an updated version of the run.sh script which should
detect when it is run from hotplug and only apply the SQM config to the
hotplugged interface. Could you verify that this works for you? If so,
I'll push an update with the revision and include a hotplug script. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4091 bytes
Desc: not available
More information about the Cerowrt-devel