#6639: Add sddm-0.11.0
--------------------+-----------------------
 Reporter:  Krejzi  |       Owner:  fo
     Type:  task    |      Status:  assigned
 Priority:  normal  |   Milestone:  7.8
Component:  BOOK    |     Version:  SVN
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+-----------------------
Changes (by fo):

 * owner:  blfs-book@… => fo
 * status:  new => assigned


Comment:

 Change the bootscript according to Bruce's post at:

 [http://lists.linuxfromscratch.org/pipermail/blfs-
 dev/2015-August/030849.html]

 to

 {{{
 . /lib/lsb/init-functions

 BIN_FILE="/usr/bin/sddm"

 #$LastChangedBy: fernando $
 #$Date: 2015-08-01 22:25:40 +0000 (Sat, 01 Aug 2015) $

 case $1 in
    start)
         log_info_msg "Starting upowerd..."
         pgrep -l upowerd || start_daemon /usr/libexec/upowerd &
         evaluate_retval

         log_info_msg "Starting SDDM..."
         start_daemon $BIN_FILE &
         evaluate_retval
         ;;

    stop)
         log_info_msg "Stopping SDDM..."
         killproc $BIN_FILE

         log_info_msg "Stopping upowerd..."
         killproc upowerd
         evaluate_retval
         ;;

    restart)
         $0 stop
         sleep 2
         $0 start
         ;;

    status)
         statusproc ${BIN_FILE}
         statusproc /usr/libexec/upowerd
         ;;

    *)
         echo "usage: $0 [start|stop|restart|status]"
         exit 1
         ;;
 esac
 }}}


 == Remember to fix LXDM bootscript uninstall target. ==

--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/6639#comment:18>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to