Next: , Previous: , Up: Init Process   [Contents][Index]


6.4 Init Environment

Programs run from pies init process inherit a basic environment consisting of the following variables:

PREVLEVEL=L

Previous runlevel, or letter ‘N’ if the runlevel hasn’t been changed since startup.

RUNLEVEL=L

Current runlevel.

CONSOLE=device

Pathname of the console device file.

INIT_VERSION="GNU Pies 1.8"

Version of pies.

PATH=/bin:/usr/bin:/sbin:/usr/sbin

Once the system is booted up, the environment can be controlled using the piesctl telinit environ (or pies -T -e) command.