aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/xenmgr/netfix7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/xenmgr/netfix b/tools/xenmgr/netfix
index 70bc1094bd..26c965260d 100644
--- a/tools/xenmgr/netfix
+++ b/tools/xenmgr/netfix
@@ -12,9 +12,10 @@ import sys
from getopt import getopt
-CMD_IFCONFIG = '/sbin/ifconfig'
-CMD_ROUTE = '/sbin/route'
-CMD_BRCTL = '/usr/local/sbin/brctl'
+os.defpath = os.defpath+':/sbin:/usr/sbin:/usr/local/sbin'
+CMD_IFCONFIG = 'ifconfig'
+CMD_ROUTE = 'route'
+CMD_BRCTL = 'brctl'
def routes():
"""Return a list of the routes.