Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
f5054b4f
Commit
f5054b4f
authored
Feb 10, 2012
by
Mike Hibler
Browse files
Don't run FreeBSD rc.kname in a Xen VM.
parent
6b5d23fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/freebsd/rc.kname
View file @
f5054b4f
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2004
, 2005
University of Utah and the Flux Group.
# Copyright (c) 2004
-2012
University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
...
...
@@ -10,6 +10,15 @@ use Getopt::Std;
# Turn off line buffering on output
$|
=
1
;
# Drag in path stuff so we can find emulab stuff.
BEGIN
{
require
"
/etc/emulab/paths.pm
";
import
emulabpaths
;
}
use
libsetup
;
# XXX right now Xen FreeBSD guests don't have kernel files.
exit
(
0
)
if
(
INXENVM
());
#
# Check to see what the kernel says was booted, and copy to /kernel.
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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