Purpose

With no arguments, show the position of the LRIS trapdoor.
With argument "open", open the trapdoor.
With argument "close", close the trapdoor.

Usage

trapdoor [open,close]

Arguments

desired state of the trapdoor

Output

Status of the trapdoor is printed to stdout

Exit values

0 = normal completion
1 = wrong number of arguments

Example

1) Close the trapdoor

trapdoor close