Neale Ferguson writes:
> When I start my system the console login service doesn't start. I placed a 
> trace inside the console-login script and it shows it fails due to the test 
> if [ "$1" != "default" ]. $1 is a null string. I assume this value comes from 
> the start property:
> 
>         <exec_method
>                 type='method'
>                 name='start'
>                 exec='/lib/svc/method/console-login %i'
>                 timeout_seconds='0'>
>                 <method_context>
>                         <method_credential user='root' group='root' />
>                 </method_context>
>         </exec_method>
> 
> Where %i is the value that $1 will take on. What is the meaning of %i and 
> from where is it set?

It's the instance name.  It'll be provided by svc.startd.

See smf_method(5).

-- 
James Carlson, Solaris Networking              <[email protected]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to