summaryrefslogtreecommitdiffstats
path: root/hosts/rpi2c-armhf-rb/etc/rc.local
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/rpi2c-armhf-rb/etc/rc.local')
-rwxr-xr-xhosts/rpi2c-armhf-rb/etc/rc.local37
1 files changed, 18 insertions, 19 deletions
diff --git a/hosts/rpi2c-armhf-rb/etc/rc.local b/hosts/rpi2c-armhf-rb/etc/rc.local
index 9248a7a7..8fed77ba 100755
--- a/hosts/rpi2c-armhf-rb/etc/rc.local
+++ b/hosts/rpi2c-armhf-rb/etc/rc.local
@@ -5,9 +5,8 @@
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
-#
-# In order to enable or disable this script just change the execution
-# bits.
+
+set -x
send_back_to_the_future() {
# stop ntp
@@ -68,22 +67,6 @@ if [ "$(hostname)" = "jenkins" ] ; then
fi
#
-# run some hosts in the future
-#
-case $(hostname) in
- codethink-sled9*) send_back_to_the_future ;;
- codethink-sled11*) send_back_to_the_future ;;
- codethink-sled13*) send_back_to_the_future ;;
- codethink-sled15*) send_back_to_the_future ;;
- profitbricks-build4*) send_back_to_the_future ;;
- profitbricks-build5*) send_back_to_the_future ;;
- profitbricks-build6*) send_back_to_the_future ;;
- profitbricks-build15*) send_back_to_the_future ;;
- profitbricks-build16*) send_back_to_the_future ;;
- *) ;;
-esac
-
-#
# fixup /(dev|run)/shm if needed
#
fixup_shm
@@ -102,5 +85,21 @@ case $(hostname) in
*) ;;
esac
+#
+# run some hosts in the future
+#
+case $(hostname) in
+ codethink-sled9*) send_back_to_the_future ;;
+ codethink-sled11*) send_back_to_the_future ;;
+ codethink-sled13*) send_back_to_the_future ;;
+ codethink-sled15*) send_back_to_the_future ;;
+ profitbricks-build4*) send_back_to_the_future ;;
+ profitbricks-build5*) send_back_to_the_future ;;
+ profitbricks-build6*) send_back_to_the_future ;;
+ profitbricks-build15*) send_back_to_the_future ;;
+ profitbricks-build16*) send_back_to_the_future ;;
+ *) ;;
+esac
+
echo "$(date -u) - system booted up."
exit 0