webnodereboot.in 433 Bytes
Newer Older
1
#!/usr/bin/perl -w
Leigh B. Stoller's avatar
Leigh B. Stoller committed
2
3
4
5
6
7
8

#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# All rights reserved.
#

9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
use English;

#
# This gets invoked from the Web interface. Simply a wrapper for experiment
# termination.
#

#
# Configure variables
#
my $TB       = "@prefix@";

#
# Run the real thing, and never return.
# 
exec "$TB/bin/node_reboot", @ARGV;

die("*** $0:\n".
    "    Could not exec program: $!");