On 2016-01-20 20:22, open...@daniel.thecshore.com wrote: > From: Daniel Dickinson <open...@daniel.thecshore.com> > > This is the final package in base that depends on ifconfig, so > remove the the dependency on ifconfig and replace ifconfig > command with ip command. After packages there are various > target preinit scripts that need work. > > Signed-off-by: Daniel Dickinson <open...@daniel.thecshore.com> > --- > package/network/config/qos-scripts/files/usr/lib/qos/generate.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh > b/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh > index caa1125..3d48417 100755 > --- a/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh > +++ b/package/network/config/qos-scripts/files/usr/lib/qos/generate.sh > @@ -321,7 +321,7 @@ start_interface() { > append cstr > "$classnr:$prio:$avgrate:$pktsize:$pktdelay:$maxrate:$qdisc:$filter" "$N" > done > append ${prefix}q "$(tcrules)" "$N" > - export dev_${dir}="ifconfig $dev up txqueuelen 5 >&- 2>&- > + export dev_${dir}="ip link set $dev up txqueuelen 5 >&- 2>&- This doesn't actually work...
- Felix _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel