Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add the run_show.sh script to run sunshow

- Reboot if there is an error
  • Loading branch information...
commit 717e11a14e08c34d4fffdc466bf83126a9b5105c 1 parent e6111c4
@bbeeley bbeeley authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 bin/run_show.sh
View
9 bin/run_show.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+/home/root/bin/sunshow
+
+RET_CODE=$?
+
+if [ "$RET_CODE" != "0" ]; then
+ /sbin/reboot
+fi
Please sign in to comment.
Something went wrong with that request. Please try again.