projects
/
grml-network.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ef7566
)
grml-router: fix usage of iptables by dropping full path usage
author
Michael Prokop
<mika@grml.org>
Tue, 7 Jun 2016 14:24:59 +0000
(16:24 +0200)
committer
Michael Prokop
<mika@grml.org>
Tue, 7 Jun 2016 14:24:59 +0000
(16:24 +0200)
check4progs expects a program with its full path, otherwise
it fails with:
| /sbin/iptables: binary not found
Thanks: Ralf Moll for the bugreport
sbin/grml-router
patch
|
blob
|
history
diff --git
a/sbin/grml-router
b/sbin/grml-router
index
cd1e19d
..
52d82c3
100755
(executable)
--- 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)