direct-io.hg

changeset 7250:e31e64e00ac3

The hotplug agent sets the path now, but that's not as practical to do
with udev rules. So instead, make sure that the path is set in the vif
scripts themselves.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Oct 07 13:11:41 2005 +0100 (2005-10-07)
parents 5eda9308b0ca
children 1b0dbfedc043
files tools/examples/vif-bridge tools/examples/vif-nat tools/examples/vif-route
line diff
     1.1 --- a/tools/examples/vif-bridge	Fri Oct 07 11:54:38 2005 +0100
     1.2 +++ b/tools/examples/vif-bridge	Fri Oct 07 13:11:41 2005 +0100
     1.3 @@ -33,6 +33,7 @@
     1.4  
     1.5  # Exit if anything goes wrong
     1.6  set -e 
     1.7 +export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
     1.8  
     1.9  echo "*vif-bridge $*" >&2
    1.10  
     2.1 --- a/tools/examples/vif-nat	Fri Oct 07 11:54:38 2005 +0100
     2.2 +++ b/tools/examples/vif-nat	Fri Oct 07 13:11:41 2005 +0100
     2.3 @@ -22,7 +22,7 @@
     2.4  
     2.5  # Exit if anything goes wrong
     2.6  set -e 
     2.7 -
     2.8 +export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
     2.9  echo "*vif-nat $*" >&2
    2.10  
    2.11  # Operation name.
     3.1 --- a/tools/examples/vif-route	Fri Oct 07 11:54:38 2005 +0100
     3.2 +++ b/tools/examples/vif-route	Fri Oct 07 13:11:41 2005 +0100
     3.3 @@ -23,7 +23,7 @@
     3.4  
     3.5  # Exit if anything goes wrong
     3.6  set -e 
     3.7 -
     3.8 +export PATH=/sbin:/bin:/usr/bin:/usr/sbin:$PATH
     3.9  echo "*vif-route $*" >&2
    3.10  
    3.11  # Operation name.