Print this page
OS-2051 serial console login should set TERM appropriately


 119                     name='system-console'
 120                     grouping='require_all'
 121                     restart_on='none'
 122                     type='service'>
 123                     <service_fmri value='svc:/system/console-login:default' />
 124             </dependency>
 125 
 126         <!-- these are passed to ttymon in the method script -->
 127         <property_group name='ttymon' type='application'>
 128                 <propval name='value_authorization' type='astring'
 129                         value='solaris.smf.value.vt' />
 130                 <propval name='device' type='astring' value='/dev/term/a' />
 131                 <propval name='label' type='astring' value='115200' />
 132                 <propval name='timeout' type='count' value='0' />
 133                 <propval name='nohangup' type='boolean' value='true' />
 134                 <propval name='modules' type='astring'
 135                         value='ldterm,ttcompat' />
 136                 <propval name='prompt' type='astring'
 137                         value='`uname -n` ttya login:' />
 138                 <propval name='terminal_type' type='astring'
 139                         value='' />
 140         </property_group>
 141 </instance>
 142 
 143 <instance name='ttyb' enabled='true'>
 144 
 145             <dependency
 146                     name='system-console'
 147                     grouping='require_all'
 148                     restart_on='none'
 149                     type='service'>
 150                     <service_fmri value='svc:/system/console-login:default' />
 151             </dependency>
 152 
 153         <!-- these are passed to ttymon in the method script -->
 154         <property_group name='ttymon' type='application'>
 155                 <propval name='value_authorization' type='astring'
 156                         value='solaris.smf.value.vt' />
 157                 <propval name='device' type='astring' value='/dev/term/b' />
 158                 <propval name='label' type='astring' value='115200' />
 159                 <propval name='timeout' type='count' value='0' />
 160                 <propval name='nohangup' type='boolean' value='true' />
 161                 <propval name='modules' type='astring'
 162                         value='ldterm,ttcompat' />
 163                 <propval name='prompt' type='astring'
 164                         value='`uname -n` ttyb login:' />
 165                 <propval name='terminal_type' type='astring'
 166                         value='' />
 167         </property_group>
 168 </instance>
 169 
 170 <instance name='vt2' enabled='false'>
 171 
 172         <dependency
 173                 name='system-console'
 174                 grouping='require_all'
 175                 restart_on='none'
 176                 type='service'>
 177                 <service_fmri value='svc:/system/console-login:default' />
 178         </dependency>
 179 
 180         <dependency
 181                 name='vtdaemon'
 182                 grouping='require_all'
 183                 restart_on='none'
 184                 type='service'>
 185                 <service_fmri value='svc:/system/vtdaemon:default' />
 186         </dependency>




 119                     name='system-console'
 120                     grouping='require_all'
 121                     restart_on='none'
 122                     type='service'>
 123                     <service_fmri value='svc:/system/console-login:default' />
 124             </dependency>
 125 
 126         <!-- these are passed to ttymon in the method script -->
 127         <property_group name='ttymon' type='application'>
 128                 <propval name='value_authorization' type='astring'
 129                         value='solaris.smf.value.vt' />
 130                 <propval name='device' type='astring' value='/dev/term/a' />
 131                 <propval name='label' type='astring' value='115200' />
 132                 <propval name='timeout' type='count' value='0' />
 133                 <propval name='nohangup' type='boolean' value='true' />
 134                 <propval name='modules' type='astring'
 135                         value='ldterm,ttcompat' />
 136                 <propval name='prompt' type='astring'
 137                         value='`uname -n` ttya login:' />
 138                 <propval name='terminal_type' type='astring'
 139                         value='xterm' />
 140         </property_group>
 141 </instance>
 142 
 143 <instance name='ttyb' enabled='true'>
 144 
 145             <dependency
 146                     name='system-console'
 147                     grouping='require_all'
 148                     restart_on='none'
 149                     type='service'>
 150                     <service_fmri value='svc:/system/console-login:default' />
 151             </dependency>
 152 
 153         <!-- these are passed to ttymon in the method script -->
 154         <property_group name='ttymon' type='application'>
 155                 <propval name='value_authorization' type='astring'
 156                         value='solaris.smf.value.vt' />
 157                 <propval name='device' type='astring' value='/dev/term/b' />
 158                 <propval name='label' type='astring' value='115200' />
 159                 <propval name='timeout' type='count' value='0' />
 160                 <propval name='nohangup' type='boolean' value='true' />
 161                 <propval name='modules' type='astring'
 162                         value='ldterm,ttcompat' />
 163                 <propval name='prompt' type='astring'
 164                         value='`uname -n` ttyb login:' />
 165                 <propval name='terminal_type' type='astring'
 166                         value='xterm' />
 167         </property_group>
 168 </instance>
 169 
 170 <instance name='vt2' enabled='false'>
 171 
 172         <dependency
 173                 name='system-console'
 174                 grouping='require_all'
 175                 restart_on='none'
 176                 type='service'>
 177                 <service_fmri value='svc:/system/console-login:default' />
 178         </dependency>
 179 
 180         <dependency
 181                 name='vtdaemon'
 182                 grouping='require_all'
 183                 restart_on='none'
 184                 type='service'>
 185                 <service_fmri value='svc:/system/vtdaemon:default' />
 186         </dependency>