#! /bin/bash ## ## This script is run each time a system boots. It is triggered because it is linked in from /etc/rc3.d/scat-boot.sh ## echo START `date` > /tmp/boot_scat.out ############################### ## Step 1 ## # # Determine if we should run the lighthouse process # TBD ############################### ## Step 2 ## # # Determine if we should run the scat-register process # # For right now, it should always run at boot time so lets just run it. /sl/scat/scat_register.py & ############################### ## Step 3 ## # # Now that we are registered we should have an environment. If so we run # the mount_sl.sh and mount_env.sh scripts. The mount the needed file systems based on ENV /sl/scat/mount_sl.sh && /sl/scat/mount_env.sh ######### END ############ echo END `date` > /tmp/boot_scat.out