66-tools
Software
obarun.org

66-olexec

66-olexec (open,lock and execute) opens the active (or specified) tty, locks it and executes a program.

Interface

	66-olexec [ -h ] [ -d tty ] program
	

This tool opens the active tty or the one specified by the -d modifier, locks it, and executes a program as a child process of that tty.

It exits 0 on success. If one of the processes described above fails, it exits 111.

Options

Example of use

66-olexec -d /dev/tty3 cryptsetup open /dev/sda1 cryptroot