Script Index


/usr/sbin/cabal

Control a set of SourceMage boxes on a network. This documentation was written by someone who never used cabal or looked at this code before.

Globals

CABAL_DIRECTORY CABAL_NAMES MAX_CABALS

Synopsis

A set of functions for the Cabal distributed administration system.


function read_cabal_names()

Parameters:

Globals

CABAL_NAMES CABAL

Stdout

The names of the machines in the cabal

Description

Get the names of the machines in the cabal and store in CABAL


function write_cabal_names()

Parameters:

Globals

CABAL_NAMES MAX_CABALS

Description

Overwrite the cabal name file with new member names


Parameters:

Globals

MAX_CABALS

NOTE

MAX_CABAL can be eliminated

Stdout

Names of each cabal member

Description

Print out the member of the cabal (assuming the names have been read)


Parameters:

NOTE

Dito about MAX_CABALS

Stdout

n for all cabal members

Description

Outputs the number and name of each cabal member


function select_cabal()

Parameters:

Stderr

Cabal member selection

Stdout

dialog output

Description

Pops up a dialog box for selecting a specific cabal member


function edit_cabals()

Parameters:

Description

Edit the file about selected members


function show_cabals()

Parameters:

Description

Show contents of a member's info file


function generate_cabal_key()

Parameters:

Description

Generate SSH key for a cabal member