Commit cce4a113 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Oops, has some bad paths!

parent b2a7ee9b
#!/usr/localetc/emulab/nse
#!/usr/local/etc/emulab/nse
#
# EMULAB-COPYRIGHT
......@@ -36,7 +36,7 @@ proc getipaddr {name} {
# returns the interface name for ipaddr
proc getif {ipaddr} {
set tmccifconfig [open /var/emulab/tmcc.ifconfig r]
set tmccifconfig [open /var/emulab/boot/tmcc.ifconfig r]
set ifconf [read $tmccifconfig]
close $tmccifconfig
set ifconfiglist [split $ifconf "\n"]
......@@ -53,7 +53,7 @@ proc getif {ipaddr} {
proc getmac {ipaddr} {
set tmccifconfig [open /var/emulab/tmcc.ifconfig r]
set tmccifconfig [open /var/emulab/boot/tmcc.ifconfig r]
set ifconf [read $tmccifconfig]
close $tmccifconfig
set ifconfiglist [split $ifconf "\n"]
......@@ -76,7 +76,7 @@ proc getmac {ipaddr} {
# This is temporary. Needs to be done from libsetup.pm
proc installipfwfwd {} {
set tmccroutelist [open /var/emulab/tmcc.routelist r]
set tmccroutelist [open /var/emulab/boot/tmcc.routelist r]
set routeliststr [read $tmccroutelist]
close $tmccroutelist
......@@ -121,7 +121,7 @@ proc findcpuspeed {} {
# store a list of routes for all source nodes that are
# in this simulation
set tmccnseconfigs [open /var/emulab/tmcc.nseconfigs r]
set tmccnseconfigs [open /var/emulab/boot/tmcc.nseconfigs r]
set nseconfig [read $tmccnseconfigs]
close $tmccnseconfigs
......@@ -221,7 +221,7 @@ if { $nsetrafgen_present == 1 } {
# TCPTap along with the required Live and RAW IP objects. Set the filter and interface
# after learning it from tmcc commands and other scripts in /var/emulab
set tmcctrafgens [open /var/emulab/tmcc.trafgens r]
set tmcctrafgens [open /var/emulab/boot/tmcc.trafgens r]
set tmcctraf [read $tmcctrafgens]
close $tmcctrafgens
set trafgenlist [split $tmcctraf "\n"]
......@@ -340,7 +340,7 @@ if { $simcode_present == 1 } {
# get some params to configure the event system interface
if { $objnamelist != {} } {
set tmccbossinfo [open /var/emulab/tmcc.bossinfo r]
set tmccbossinfo [open /var/emulab/boot/tmcc.bossinfo r]
set tmccboss [read $tmccbossinfo]
close $tmccbossinfo
set boss [lindex [split $tmccboss " "] 0]
......
#!/usr/localetc/emulab/nse
#!/usr/local/etc/emulab/nse
#
# EMULAB-COPYRIGHT
......@@ -36,7 +36,7 @@ proc getipaddr {name} {
# returns the interface name for ipaddr
proc getif {ipaddr} {
set tmccifconfig [open /var/emulab/tmcc.ifconfig r]
set tmccifconfig [open /var/emulab/boot/tmcc.ifconfig r]
set ifconf [read $tmccifconfig]
close $tmccifconfig
set ifconfiglist [split $ifconf "\n"]
......@@ -53,7 +53,7 @@ proc getif {ipaddr} {
proc getmac {ipaddr} {
set tmccifconfig [open /var/emulab/tmcc.ifconfig r]
set tmccifconfig [open /var/emulab/boot/tmcc.ifconfig r]
set ifconf [read $tmccifconfig]
close $tmccifconfig
set ifconfiglist [split $ifconf "\n"]
......@@ -76,7 +76,7 @@ proc getmac {ipaddr} {
# This is temporary. Needs to be done from libsetup.pm
proc installipfwfwd {} {
set tmccroutelist [open /var/emulab/tmcc.routelist r]
set tmccroutelist [open /var/emulab/boot/tmcc.routelist r]
set routeliststr [read $tmccroutelist]
close $tmccroutelist
......@@ -121,7 +121,7 @@ proc findcpuspeed {} {
# store a list of routes for all source nodes that are
# in this simulation
set tmccnseconfigs [open /var/emulab/tmcc.nseconfigs r]
set tmccnseconfigs [open /var/emulab/boot/tmcc.nseconfigs r]
set nseconfig [read $tmccnseconfigs]
close $tmccnseconfigs
......@@ -221,7 +221,7 @@ if { $nsetrafgen_present == 1 } {
# TCPTap along with the required Live and RAW IP objects. Set the filter and interface
# after learning it from tmcc commands and other scripts in /var/emulab
set tmcctrafgens [open /var/emulab/tmcc.trafgens r]
set tmcctrafgens [open /var/emulab/boot/tmcc.trafgens r]
set tmcctraf [read $tmcctrafgens]
close $tmcctrafgens
set trafgenlist [split $tmcctraf "\n"]
......@@ -340,7 +340,7 @@ if { $simcode_present == 1 } {
# get some params to configure the event system interface
if { $objnamelist != {} } {
set tmccbossinfo [open /var/emulab/tmcc.bossinfo r]
set tmccbossinfo [open /var/emulab/boot/tmcc.bossinfo r]
set tmccboss [read $tmccbossinfo]
close $tmccbossinfo
set boss [lindex [split $tmccboss " "] 0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment