Skip to content

Commit

Permalink
grml-router: fix usage of iptables by dropping full path usage
Browse files Browse the repository at this point in the history
check4progs expects a program with its full path, otherwise
it fails with:

| /sbin/iptables: binary not found

Thanks: Ralf Moll for the bugreport
  • Loading branch information
mika committed Jun 7, 2016
1 parent 0ef7566 commit 09a3d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sbin/grml-router
Expand Up @@ -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)
Expand Down

0 comments on commit 09a3d47

Please sign in to comment.