From: Michael Prokop Date: Tue, 7 Jun 2016 14:24:59 +0000 (+0200) Subject: grml-router: fix usage of iptables by dropping full path usage X-Git-Tag: v0.8.3~2 X-Git-Url: http://git.grml.org/?p=grml-network.git;a=commitdiff_plain;h=09a3d477144a7d99e089673e40df57c4a3835f29 grml-router: fix usage of iptables by dropping full path usage check4progs expects a program with its full path, otherwise it fails with: | /sbin/iptables: binary not found Thanks: Ralf Moll for the bugreport --- diff --git a/sbin/grml-router b/sbin/grml-router index cd1e19d..52d82c3 100755 --- a/sbin/grml-router +++ b/sbin/grml-router @@ -21,7 +21,7 @@ fi # defaults if unconfigured [ -n "$OUTDEV" ] || OUTDEV=auto -[ -n "$IPTABLES" ] || IPTABLES=/sbin/iptables +[ -n "$IPTABLES" ] || IPTABLES=iptables case "$OUTDEV" in auto|default)