Re: [OpenWrt-Devel] [PATCH] firewall/iptables

2009-12-21 Thread Ugur DOGRU
# /tmp # ./test_sh2.sh CONCATTED: sh: can't execute ' ': No such file or directory END NOT CONCATTED: END Felix Fietkau wrote: On 2009-12-08 1:36 PM, Ugur DOGRU wrote: Hi,

Re: [OpenWrt-Devel] [PATCH] firewall/iptables

2009-12-10 Thread Ugur DOGRU
Felix Fietkau wrote: On 2009-12-08 1:36 PM, Ugur DOGRU wrote: Hi, After getting busybox 1.15.2, "local" macro is not a problem now. So I removed all modifications that removes local. To remind it, these changes are for ubicom32 platform, but for all no-mmu platforms in genera

Re: [OpenWrt-Devel] [PATCH] firewall/iptables

2009-12-08 Thread Ugur DOGRU
Hi, After getting busybox 1.15.2, "local" macro is not a problem now. So I removed all modifications that removes local. To remind it, these changes are for ubicom32 platform, but for all no-mmu platforms in general. As ash cannot run on no-mmu system, we are using hush instead. There are st

Re: [OpenWrt-Devel] [PATCH] firewall/iptables

2009-10-20 Thread Ugur DOGRU
Good idea. but, not sure that "type" supported by hush. ugur Jo-Philipp Wich wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following function supports multiple args like the original "local". if ! type "local" >/dev/null; then local() { for _v in $*; do eva

Re: [OpenWrt-Devel] [PATCH] firewall/iptables

2009-10-20 Thread Ugur Dogru
OpenWrt-Devel] [PATCH] firewall/iptables On Tuesday 20 October 2009 14:58:49 Ugur DOGRU wrote: > This patch is for firewall/iptables. Most of it is to fix some hush > script problems. >[...] As most other init/hotplug scripts don't work with hush as well, I wonder why you went for t

[OpenWrt-Devel] [PATCH] firewall/iptables

2009-10-20 Thread Ugur DOGRU
This patch is for firewall/iptables. Most of it is to fix some hush script problems. Adds also some SPI rule to firewall script. diff -ruN package/firewall/files/20-firewall package-after/firewall/files/20-firewall --- package/firewall/files/20-firewall2009-10-06 15:41:25.0 +030