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-stable
Commits
78de1689
Commit
78de1689
authored
Nov 30, 2000
by
Kristin Wright
Browse files
I need to clean up some loose ends before calling acct script.
parent
318219b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
tbsetup/tbdoit
View file @
78de1689
...
...
@@ -49,11 +49,11 @@ if (system("$tbdir/tbreport -v $irfile 2>&1 > $repfile") != 0) {
exit
(
-
1
);
}
print
STDOUT
"
Running mkacct with argument:
$eid
";
if
(
system
("
$tbdir
/mkacct
$eid
")
!=
0
)
{
print
STDOUT
"
mkacct failed!
\n
";
exit
(
-
1
);
}
#
print STDOUT "Running mkacct with argument: $eid";
#
if (system("$tbdir/mkacct $eid") != 0) {
#
print STDOUT "mkacct failed!\n";
#
exit(-1);
#
}
print
STDOUT
"
Setup Success
\n
";
...
...
tbsetup/tbstopit
View file @
78de1689
...
...
@@ -31,11 +31,11 @@ if (system("$tbdir/tbend $project $eid $irfile") != 0) {
exit
(
-
1
);
}
print
STDOUT
"
Running rmacct with argument:
$eid
\n
";
if
(
system
("
$tbdir
/rmacct
$eid
")
!=
0
)
{
print
STDOUT
"
rmacct failed!
\n
";
exit
(
-
1
);
}
#
print STDOUT "Running rmacct with argument: $eid\n";
#
if (system("$tbdir/rmacct $eid") != 0) {
#
print STDOUT "rmacct failed!\n";
#
exit(-1);
#
}
print
STDOUT
"
Termination Success
\n
";
exit
0
;
...
...
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