As I work on getting bash integreated into Akaros, modify
`ifconfig` so that it uses the full path to the `bind` command
instead of relying on $PATH: this prevents conflicting with
the builtin `bind` in bash.

Change-Id: I5ab1d57a3d4d5f500a2d989ad0b7c6e8d632f3de
Signed-off-by: Dan Cross <[email protected]>
---
 kern/kfs/ifconfig | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/kern/kfs/ifconfig b/kern/kfs/ifconfig
index cd76be0..39734db 100755
--- a/kern/kfs/ifconfig
+++ b/kern/kfs/ifconfig
@@ -38,18 +38,18 @@ fi
 #
 # Set up the initial namespace for starting networking.
 #
-bind -b '#cons' /dev
-bind -b '#random' /dev
-#bind '#d' /fd
-#bind -c '#e' /env
-bind -b '#proc' /proc
-bind -b '#srv' /srv
+/bin/bind -b '#cons' /dev
+/bin/bind -b '#random' /dev
+#/bin/bind '#d' /fd
+#/bin/bind -c '#e' /env
+/bin/bind -b '#proc' /proc
+/bin/bind -b '#srv' /srv
 
 #
 # Configure the network mount point.
 #
-bind -a '#ip' /net
-bind -a '#ether'.$NIC /net
+/bin/bind -a '#ip' /net
+/bin/bind -a '#ether'.$NIC /net
 
 if [ -x /bin/ipconfig ]
 then
@@ -110,6 +110,6 @@ mount -a '#srv/cs' /net
 # This is noisy, so it is off by default.
 #echo debug > /net/cs
 
-bind -a '#kprof' /prof
+/bin/bind -a '#kprof' /prof
 
 echo 'ifconfig complete'
-- 
2.8.0.rc3.226.g39d4020

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to