summaryrefslogtreecommitdiffstats
path: root/hosts/opi2b-armhf-rb/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-28 14:58:57 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-28 14:58:57 +0200
commit6d0eb25d48064e23902cbb87f62a0703ba9f0e4b (patch)
treec6099a1b5ad11a255eb0af6fd634dc7c54a40bd9 /hosts/opi2b-armhf-rb/etc
parentaf624f5c8e11817a27302eaaccedb410dbdd71c9 (diff)
downloadjenkins.debian.net-6d0eb25d48064e23902cbb87f62a0703ba9f0e4b.tar.xz
add debugging output and change system last
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'hosts/opi2b-armhf-rb/etc')
-rwxr-xr-xhosts/opi2b-armhf-rb/etc/rc.local37
1 files changed, 18 insertions, 19 deletions
diff --git a/hosts/opi2b-armhf-rb/etc/rc.local b/hosts/opi2b-armhf-rb/etc/rc.local
index 9248a7a7..8fed77ba 100755
--- a/hosts/opi2b-armhf-rb/etc/rc.local
+++ b/hosts/opi2b-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