Skip to content
GitLab
Menu
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
57250f2b
Commit
57250f2b
authored
Jan 04, 2011
by
David Johnson
Browse files
Add NewOsload feature.
parent
9ae2f669
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/updates/4/232
0 → 100644
View file @
57250f2b
#
# Add a new feature for libosload_new
#
use strict;
use EmulabFeatures;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
#
# Add a new feature for libosload_new
#
my $feature = EmulabFeatures->Lookup("NewOsload");
if (!defined($feature)) {
$feature = EmulabFeatures->Create("NewOsload",
"Use libosload_new instead of libosload. ".
"libosload_new will eventually replace libosload.");
}
return -1
if (!defined($feature));
return 0;
}
1;
Write
Preview
Supports
Markdown
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