plan9 man page for init

Query: init

OS: plan9

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

INIT(8) 						      System Manager's Manual							   INIT(8)

NAME
init - initialize machine upon booting
SYNOPSIS
/$cputype/init [ -ctm ] [ command ... ]
DESCRIPTION
Init initializes the machine: it establishes the name space (see namespace(4) and newns in auth(2)), and environment (see env(3)) and starts a shell (rc(1)) on the console. If a command is supplied, that is run instead of the shell. On a CPU server the invoked shell runs cpurc(8) before accepting commands on the console; on a terminal, it runs termrc and then the user's profile. Options -t (terminal) and -c (CPU) force the behavior to correspond to the specified service class. Otherwise init uses the value of the environment variable $service to decide the service class. Init sets environment variables $service (either to the incoming value or according to -t or -c), $objtype (to the value of $cputype), $user (to the contents of #c/user), and $timezone (to the contents of /adm/timezone/local). With option -m init starts only an interactive shell regardless of the command or service class. On a CPU server, init requires the machine's password to be supplied before starting rc on the console. Init is invoked by boot(8), which sets the arguments as appropriate.
SOURCE
/sys/src/cmd/init.c
SEE ALSO
rc(1), auth(2), boot(8) INIT(8)
Related Man Pages
service(8) - linux
cpurc(8) - plan9
service(8) - debian
init(8) - minix
sulogin(8) - suse
Similar Topics in the Unix Linux Community
command utilizing high CPU
Setting of two time formats in one machine
Run at boot
regarding Color scheme in linux console connected through putty.
Storing file contents to a variable