[ETH] add script to reboot cluster

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
Nico Schottelius 2009-04-03 11:59:32 +02:00
parent e8e6ad2df6
commit 5f251452ef
1 changed files with 3 additions and 0 deletions

3
eth/dryad-reboot.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
# Reboot the entire cluster & send mail to me
dsh -g dryad -c "(uptime; dmesg) | mail -s \"\$(hostname) down at \$(date)\" nicosc@inf.ethz.ch && reboot"