? ??, 01/04/2008 ? 13:04 +0200, Tomas Heran ?????:

Maybe SMF service exists for up to date Solaris 10, but mine is quite
old :(. And my dtlogin.rc do the following: 
...
case "$mode" in

'start')
        update_printers

        if [ -x /usr/dt/bin/dtlogin ] ; then
                /usr/dt/bin/dtlogin -daemon &
        fi
        ;;


'stop')         
        kill_dtlogin
        ;;

'reset')        
        kill_dtlogin HUP
        ;;

....

> Alexander,
> there is already SMF service for dtlogin:
> 
> svc:/application/graphical-login/cde-login:default
> 
> The "standard" rc script for dtlogin - /etc/init.d/dtlogin - which you
> say you moved to other location, does pretty much this:
> 
> case "$mode" in
> 
> 'start')
>          svcadm enable -rt application/graphical-login/cde-login:default
>          ;;
> 
> Tomas
> 

-- 
? ?????????,
????????? ???????,
????????? ????????????? ?????? ???


Reply via email to