misc-progs: Cleanup chain creation of wirelessctrl.
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Apr 2010 12:18:01 +0000 (14:18 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 23 Apr 2010 12:18:01 +0000 (14:18 +0200)
commit8cc93ee11f1788332847c72afbbb2688b3206023
treedd8c1b60244394bf80a832f2d13952186d2bc742
parentbf137f5bb6c2ba2d13fd88b912705e4c2e9feb6f
misc-progs: Cleanup chain creation of wirelessctrl.

This changes the behaviour of the wirelessctrl binary
that will no longer create useless rules in the WIRELESSINPUT
and WIRELESSFORWARD chains that have no use at all.

So we keep this chain empty if /var/ipfire/wireless/nodrop
is existant.
src/misc-progs/wirelessctrl.c