summaryrefslogtreecommitdiff
path: root/tools/halt.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/halt.py')
-rwxr-xr-xtools/halt.py24
1 files changed, 0 insertions, 24 deletions
diff --git a/tools/halt.py b/tools/halt.py
deleted file mode 100755
index 0cb43ed..0000000
--- a/tools/halt.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python
-# -*- coding: utf-8 -*-
-#
-# Copyright (c) 2014, NORDUnet A/S.
-# See LICENSE for licensing information.
-
-import argparse
-import subprocess
-import sys
-import select
-
-parser = argparse.ArgumentParser(description='')
-parser.add_argument('toerl')
-parser.add_argument('nodedir')
-args = parser.parse_args()
-
-p = subprocess.Popen(
- [args.toerl, args.nodedir],
- stdin=subprocess.PIPE)
-p.stdin.write("halt().\n")
-p.stdin.flush()
-select.select([], [], [], 0.5)
-p.stdin.close()
-p.wait()