18 Apr
2002
18 Apr
'02
18:08
Hmm, am I missing something or could you just do something like
R="`cd /proc/sys/net/ipv4/conf; echo ppp* `" test "$R" = "ppp*" && R="" RAIC="$RAIC $R"
with the shell? A bit of string comparison is not exactly CPU-intensive and handled by the shell without external programs.
That's true. Compared to the run of ipchains or iptables afterwards, it's even extremely inexpensive. Roman.