Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
27f152f9
Commit
27f152f9
authored
Jul 10, 2002
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Insert Copyrights.
parent
d8eea85e
Changes
52
Hide whitespace changes
Inline
Side-by-side
Showing
52 changed files
with
195 additions
and
19 deletions
+195
-19
tmcd/freebsd/chipset.awk
tmcd/freebsd/chipset.awk
+5
-0
tmcd/freebsd/control_interface
tmcd/freebsd/control_interface
+5
-0
tmcd/freebsd/cpuspeed.awk
tmcd/freebsd/cpuspeed.awk
+5
-0
tmcd/freebsd/dhclient-exit-hooks
tmcd/freebsd/dhclient-exit-hooks
+5
-0
tmcd/freebsd/nodetype
tmcd/freebsd/nodetype
+5
-0
tmcd/freebsd/prepare
tmcd/freebsd/prepare
+0
-1
tmcd/freebsd/rc.agents
tmcd/freebsd/rc.agents
+5
-0
tmcd/freebsd/rc.delayagent
tmcd/freebsd/rc.delayagent
+6
-0
tmcd/freebsd/rc.delta
tmcd/freebsd/rc.delta
+6
-0
tmcd/freebsd/rc.frisbee
tmcd/freebsd/rc.frisbee
+6
-0
tmcd/freebsd/rc.healthd
tmcd/freebsd/rc.healthd
+5
-0
tmcd/freebsd/rc.mfs
tmcd/freebsd/rc.mfs
+5
-0
tmcd/freebsd/rc.progagent
tmcd/freebsd/rc.progagent
+6
-0
tmcd/freebsd/rc.setup
tmcd/freebsd/rc.setup
+5
-0
tmcd/freebsd/rc.testbed
tmcd/freebsd/rc.testbed
+5
-0
tmcd/freebsd/runstartup
tmcd/freebsd/runstartup
+0
-1
tmcd/freebsd/sendevent
tmcd/freebsd/sendevent
+6
-0
tmcd/freebsd/sethostname
tmcd/freebsd/sethostname
+6
-0
tmcd/freebsd/setipod
tmcd/freebsd/setipod
+6
-0
tmcd/freebsd/setup
tmcd/freebsd/setup
+0
-1
tmcd/freebsd/shutdown.sh
tmcd/freebsd/shutdown.sh
+5
-0
tmcd/freebsd/update
tmcd/freebsd/update
+0
-1
tmcd/freebsd/update_delays
tmcd/freebsd/update_delays
+0
-1
tmcd/linux/chipset.awk
tmcd/linux/chipset.awk
+5
-0
tmcd/linux/control_interface
tmcd/linux/control_interface
+5
-0
tmcd/linux/cpuspeed.awk
tmcd/linux/cpuspeed.awk
+5
-0
tmcd/linux/liblocsetup.pm
tmcd/linux/liblocsetup.pm
+0
-1
tmcd/linux/nodetype
tmcd/linux/nodetype
+5
-0
tmcd/linux/prepare
tmcd/linux/prepare
+0
-1
tmcd/linux/rc.agents
tmcd/linux/rc.agents
+5
-0
tmcd/linux/rc.delta
tmcd/linux/rc.delta
+6
-0
tmcd/linux/rc.progagent
tmcd/linux/rc.progagent
+6
-0
tmcd/linux/rc.setup
tmcd/linux/rc.setup
+5
-0
tmcd/linux/rc.testbed
tmcd/linux/rc.testbed
+5
-0
tmcd/linux/runstartup
tmcd/linux/runstartup
+0
-1
tmcd/linux/sendevent
tmcd/linux/sendevent
+6
-0
tmcd/linux/sethostname
tmcd/linux/sethostname
+6
-0
tmcd/linux/setup
tmcd/linux/setup
+0
-1
tmcd/linux/tbshutdown
tmcd/linux/tbshutdown
+5
-0
tmcd/linux/update
tmcd/linux/update
+0
-1
tmcd/netbsd/GNUmakefile.in
tmcd/netbsd/GNUmakefile.in
+5
-0
tmcd/netbsd/rc.testbed
tmcd/netbsd/rc.testbed
+5
-0
tmcd/netbsd/runstartup
tmcd/netbsd/runstartup
+6
-0
tmcd/netbsd/setup
tmcd/netbsd/setup
+6
-0
tmcd/netbsd/setuplib.pm
tmcd/netbsd/setuplib.pm
+6
-0
tmcd/ron/liblocsetup-linux.pm
tmcd/ron/liblocsetup-linux.pm
+6
-1
tmcd/ron/liblocsetup.pm
tmcd/ron/liblocsetup.pm
+0
-1
tmcd/ron/rc.setup
tmcd/ron/rc.setup
+0
-2
tmcd/ron/rc.testbed
tmcd/ron/rc.testbed
+0
-2
tmcd/ron/update
tmcd/ron/update
+0
-1
tmcd/ron/vnodesetup
tmcd/ron/vnodesetup
+0
-1
tmcd/ron/watchdog
tmcd/ron/watchdog
+0
-1
No files found.
tmcd/freebsd/chipset.awk
View file @
27f152f9
#!/usr/bin/awk -f
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
/^
pcib0
:
<
Intel
[
0
-
9
][
0
-
9
][
0
-
9
][
0
-
9
][
0
-
9
]
BX
/
{
print
"BX"
;
...
...
tmcd/freebsd/control_interface
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
NODETYPE
=
`
/etc/testbed/nodetype
`
...
...
tmcd/freebsd/cpuspeed.awk
View file @
27f152f9
#!/usr/bin/awk -f
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
/^
CPU
:.
*
\
(
1
[
45
][
0
-
9
][
0
-
9
]
\
.[
0
-
9
]
+
\
-
MHz
/
{
print
"1500"
;
...
...
tmcd/freebsd/dhclient-exit-hooks
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Remember our server IP as the boss IP
...
...
tmcd/freebsd/nodetype
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
if
[
-x
'/etc/testbed/cpuspeed.awk'
]
;
then
cpuspeed
=
`
/etc/testbed/cpuspeed.awk /var/run/dmesg.boot
`
;
...
...
tmcd/freebsd/prepare
View file @
27f152f9
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/freebsd/rc.agents
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Start the agents. The scripts decide themselves whether to do anything.
...
...
tmcd/freebsd/rc.delayagent
View file @
27f152f9
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/freebsd/rc.delta
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/freebsd/rc.frisbee
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
TMCC
=
/etc/testbed/tmcc
DISKDEV
=
/dev/rad0
...
...
tmcd/freebsd/rc.healthd
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
PREFIX
=
/etc/testbed
NODETYPE
=
`
${
PREFIX
}
/nodetype
`
...
...
tmcd/freebsd/rc.mfs
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# The MFS does a very restricted set of operations.
...
...
tmcd/freebsd/rc.progagent
View file @
27f152f9
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/freebsd/rc.setup
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
#
...
...
tmcd/freebsd/rc.testbed
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Don't put anything else in here. Put it in the rc.setup file cause
...
...
tmcd/freebsd/runstartup
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/freebsd/sendevent
View file @
27f152f9
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/freebsd/sethostname
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/freebsd/setipod
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
use
Socket
;
...
...
tmcd/freebsd/setup
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/freebsd/shutdown.sh
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Special shutdown script for testbed nodes
...
...
tmcd/freebsd/update
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/freebsd/update_delays
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/linux/chipset.awk
View file @
27f152f9
#!/usr/bin/awk -f
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
/^
[
]
+
Host
bridge
:
Intel
Corporation
.
*
[
0
-
9
][
0
-
9
][
0
-
9
][
0
-
9
][
0
-
9
]
BX
/
{
print
"BX"
;
...
...
tmcd/linux/control_interface
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
NODETYPE
=
`
/etc/testbed/nodetype
`
...
...
tmcd/linux/cpuspeed.awk
View file @
27f152f9
#!/usr/bin/awk -f
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
/^
cpu
MHz
.
*
1
[
45
][
0
-
9
][
0
-
9
]
\
.[
0
-
9
]
+
$
/
{
print
"1500"
;
...
...
tmcd/linux/liblocsetup.pm
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/linux/nodetype
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
if
[
-x
'/etc/rc.d/testbed/cpuspeed.awk'
]
;
then
cpuspeed
=
`
/etc/rc.d/testbed/cpuspeed.awk /proc/cpuinfo
`
;
...
...
tmcd/linux/prepare
View file @
27f152f9
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/linux/rc.agents
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Start the agents. The scripts decide themselves whether to do anything.
...
...
tmcd/linux/rc.delta
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/linux/rc.progagent
View file @
27f152f9
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/linux/rc.setup
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
#
...
...
tmcd/linux/rc.testbed
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Don't put anything else in here. Put it in the rc.setup file cause
...
...
tmcd/linux/runstartup
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/linux/sendevent
View file @
27f152f9
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/linux/sethostname
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/linux/setup
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/linux/tbshutdown
View file @
27f152f9
#!/bin/bash
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# testbed-shutdown - On shutdown, inform the testbed that we're going down
...
...
tmcd/linux/update
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/netbsd/GNUmakefile.in
View file @
27f152f9
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# DON'T RUN THIS!
#
# Trivial. These things just need to be installed into the right place
...
...
tmcd/netbsd/rc.testbed
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
if
[
-x
/etc/testbed/setup
]
;
then
echo
"Setting up Testbed configuration..."
...
...
tmcd/netbsd/runstartup
View file @
27f152f9
#!/usr/pkg/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/netbsd/setup
View file @
27f152f9
#!/usr/pkg/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/netbsd/setuplib.pm
View file @
27f152f9
#!/usr/pkg/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
#
...
...
tmcd/ron/liblocsetup-linux.pm
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
#
FreeBSD
specific routines and constants for the client bootime setup stuff.
#
Linux
specific routines and constants for the client bootime setup stuff.
#
package
liblocsetup
;
use
Exporter
;
...
...
tmcd/ron/liblocsetup.pm
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/ron/rc.setup
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Start the watchdog daemon
#
...
...
tmcd/ron/rc.testbed
View file @
27f152f9
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#
#
# Boottime initialization.
#
...
...
tmcd/ron/update
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/ron/vnodesetup
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
tmcd/ron/watchdog
View file @
27f152f9
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment