summaryrefslogtreecommitdiff
blob: ea223ed38b6e436e911c6c5ead4a3201b1bf18e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
find `ip` via $PATH and not hardcoded path

https://bugs.gentoo.org/480636

--- a/client/scripts/linux
+++ b/client/scripts/linux
@@ -23,7 +23,7 @@
 # of the $1 in its args.
 
 # 'ip' just looks too weird.  /sbin/ip looks less weird.
-ip=/sbin/ip
+ip=ip
 
 make_resolv_conf() {
   if [ x"$PEER_DNS" != x ] && [ x"$PEER_DNS" != xyes ]; then