Calendar
QuicksearchArchivesCategoriesBlog AdministrationPowered byLizenz/LicenseDer Inhalt dieses Blogs ist © Copyright 2009 Ralf Ertzinger. Jegliche Reproduktion und Wiederverwertung nur mit schriftlicher Genehmigung des Autors. The content of this blog is © Copyright 2009 Ralf Ertzinger. |
Saturday, March 28. 2009Login via serial consoleTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
SMF is the Service Management Facility, Solaris' replacement for the classic SYSV init system. An SVC is simply a service defined in this framework
Hi, i needed to do the same, and i was stuck too, problem is that FMRI is hardcoded to svc:/system/console-login in /lib/svc/method/console-login, so ttymon is always instanciated with -d /dev/console. here is what i did over your stuffs:
cp /lib/svc/method/console-login /lib/svc/method/console-login-ttya
change to :
FMRI=svc:/system/console-login:ttya
svccfg -s svc:/system/console-login:ttya
then:
addpg start method
setprop start/exec=astring: /lib/svc/method/console-login-ttya
setprop start/type=astring: method
setprop start/timeout_seconds=count: 0
addpg stop method
setprop stop/exec=":kill -9"
setprop stop/timeout_seconds=count: 3
setprop stop/type=astring: method
addpg startd framework
setprop startd/duration=astring: child
setprop startd/ignore_error=astring: core,signal
setprop startd/utmpx_prefix=astring: method
svcadm refresh svc:/system/console-login:ttya
Regards,
Yann.
|