diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-04-28 14:58:57 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-04-28 14:58:57 +0200 |
commit | 6d0eb25d48064e23902cbb87f62a0703ba9f0e4b (patch) | |
tree | c6099a1b5ad11a255eb0af6fd634dc7c54a40bd9 /hosts/codethink-sled12-arm64/etc | |
parent | af624f5c8e11817a27302eaaccedb410dbdd71c9 (diff) | |
download | jenkins.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/codethink-sled12-arm64/etc')
-rwxr-xr-x | hosts/codethink-sled12-arm64/etc/rc.local | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/hosts/codethink-sled12-arm64/etc/rc.local b/hosts/codethink-sled12-arm64/etc/rc.local index 9248a7a7..8fed77ba 100755 --- a/hosts/codethink-sled12-arm64/etc/rc.local +++ b/hosts/codethink-sled12-arm64/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 |