make-console-login-xml revision 1f6eb0216cb17ca5fdff9563329f1dda47c8b801
NOTE: This service manifest is not editable; its contents will be overwritten by package or patch operations, including operating system upgrade. Make customizations in a different <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <service_bundle type='manifest' name='SUNWcsr:console'> name='system/console-login' <service_fmri value='svc:/system/filesystem/minimal' /> <service_fmri value='svc:/system/identity:node' /> <service_fmri value='svc:/system/utmp:default' /> <!-- Note that console-login should be dependent on any services that may need to use the console. This requirement can be met by establishing a dependency on milestone/sysconfig which, among other things, collects such dependencies. <service_fmri value='svc:/milestone/sysconfig' /> exec='/lib/svc/method/console-login %i' <method_credential user='root' group='root' /> <method_credential user='root' group='root' /> <property_group name='startd' type='framework'> <propval name='duration' type='astring' value='child' /> <propval name='ignore_error' type='astring' <propval name='utmpx_prefix' type='astring' value='co' /> <property_group name='general' type='framework'> <propval name='action_authorization' type='astring' value='solaris.smf.manage.vt' /> <propval name='value_authorization' type='astring' value='solaris.smf.manage.vt' /> <!-- these are passed to ttymon in the method script. note that value_authorization is not passed to ttymon and it's for smf_security(5). <property_group name='ttymon' type='application'> <propval name='value_authorization' type='astring' value='solaris.smf.value.vt' /> <propval name='device' type='astring' value='/dev/console' /> <propval name='label' type='astring' value='console' /> <propval name='timeout' type='count' value='0' /> <propval name='nohangup' type='boolean' value='true' /> <propval name='modules' type='astring' value='ldterm,ttcompat' /> <propval name='prompt' type='astring' value='\`uname -n\` console login:' /> <propval name='terminal_type' type='astring' <instance name='default' enabled='true'> # Note that this script file is normally parsed during build by sh(1). # When the parser encounters an EOF token (like the one above), it # will fork off and pipe all the text after the EOF above to the shell # one system console (/dev/console) plus five virtual consoles # (/dev/vt/#, # is from 2 to 6). <instance name='vt$num' enabled='false'> <service_fmri value='svc:/system/console-login:default' /> <service_fmri value='svc:/system/vtdaemon:default' /> <!-- these are passed to ttymon in the method script --> <property_group name='ttymon' type='application'> <propval name='value_authorization' type='astring' value='solaris.smf.value.vt' /> <propval name='device' type='astring' value='/dev/vt/$num' /> <propval name='label' type='astring' value='console' /> <propval name='timeout' type='count' value='0' /> <propval name='nohangup' type='boolean' value='true' /> <propval name='modules' type='astring' value='ldterm,ttcompat' /> <propval name='prompt' type='astring' value='\`uname -n\` vt$num login:' /> <propval name='terminal_type' type='astring' <stability value='Evolving' /> <manpage title='ttymon' section='1M' manpath='/usr/share/man' /> <pg_pattern name='ttymon' type='application' target='this' <prop_pattern name='device' type='astring' The terminal device to be used for the console login prompt. <visibility value='readwrite'/> <cardinality min='1' max='1'/> <value name='/dev/console'> The default console device <value name='/dev/wscons'> The physical workstation console (i.e. keyboard and monitor) <value name='/dev/term/a'> <value name='/dev/term/b'> <include_values type='values'/> <prop_pattern name='label' type='astring' The appropriate entry from /etc/ttydefs <visibility value='readwrite'/> <cardinality min='1' max='1'/> <prop_pattern name='timeout' type='count' If no user input is given within the number of seconds defined by this property after the prompt is printed, ttymon should exit. <visibility value='readwrite'/> <cardinality min='1' max='1'/> <prop_pattern name='nohangup' type='boolean' Do not force a hangup on the line by setting the speed to zero before setting the speed to the default or specified speed. <visibility value='readwrite'/> <cardinality min='1' max='1'/> <prop_pattern name='modules' type='astring' STREAMS modules to be pushed on the terminal <visibility value='readwrite'/> <internal_separators>,</internal_separators> <prop_pattern name='prompt' type='astring' Prompt to be printed on console <visibility value='readwrite'/> <cardinality min='1' max='1'/> <prop_pattern name='terminal_type' type='astring' Sets the initial value of the TERM environment variable <visibility value='readwrite'/> <cardinality min='1' max='1'/>