blackboard script pi

by Gerry Hoeger 10 min read

Getting Started

The first script to run extends the Linux partition to the maximum size allowed and builds a swap file. Use the "cd Scripts" command to enter the Scripts directory from /root and then type "./build-swap.sh -e". The "-e" option will first extend the Linux partition before creating the swap file.

Prerequisites

You will need a Blackboard Rev. D to run the default image provided on-line. To run Blackboard Rev. B, you need to replace system.bit in the first partition of the SD card with the appropriate bit file.

Installing Options

There are scripts for setting up some options included. The scripts include:

What is SIS_SNPSHT_Auto?

At a high level, the sis_snpsht_auto script loads files found in the configured data directory, analyzes the file data header to determine the object type referenced, and adds the file to the appropriate list for later processing. The header analysis determines the type of object the file is referring to and thus its order in the snapshot processing queue. This sorting allows for a single drop point for the SIS generated flat files.

What is SIS flat file?

The data provided by the SIS-generated flat files is sequentially by data object added to Learn and the original files are archived with the processing timestamp added to the original filename. Script-configured administrators receive status emails per processed file and an overall status email covering the full processing task.

What is the purpose of automation?

The purpose of automation is the ability to run the script set without human intervention. UNIX provides this capability with CRON, a built in scheduling application. A system process, CRON, periodically checks the system crontab, a system file that contains a list of commands and settings for when they should run. Entries are then assessed for whether they should be run now or later as indicated in the crontab entry.

image