Magellan Linux

Diff of /branches/magellan-next/core/rsyslog/rsyslog-5.8.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7864 by niro, Thu Jun 2 17:19:43 2011 UTC revision 7865 by niro, Thu Jun 2 17:47:25 2011 UTC
# Line 26  SRC_URI=( Line 26  SRC_URI=(
26   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
27   mirror://${PNAME}/rsyslog.conf   mirror://${PNAME}/rsyslog.conf
28   mirror://${PNAME}/rsyslog.logrotate   mirror://${PNAME}/rsyslog.logrotate
29   mirror://${PNAME}/ryslog.rc   mirror://${PNAME}/rsyslog.rc
30   mirror://${PNAME}/ryslog.confd   mirror://${PNAME}/rsyslog.confd
31   mirror://${PNAME}/${PNAME}-${PVER}-systemd.patch   mirror://${PNAME}/${PNAME}-${PVER}-systemd.patch
32  )  )
33    
# Line 180  EOF Line 180  EOF
180   mstartservice rsyslog   mstartservice rsyslog
181    
182   # enable systemd units   # enable systemd units
183   if [[ ${MROOT} = / ]] || [[ -z ${MROOT} ]]   mstartunit rsyslog.service
  then  
  if [[ -x /bin/systemctl ]]  
  then  
  systemctl enable rsyslog.service  
  fi  
  fi  
184  }  }
185    
186  postremove()  postremove()
# Line 194  postremove() Line 188  postremove()
188   mstopservice rsyslog   mstopservice rsyslog
189    
190   # disable systemd units   # disable systemd units
191   if [[ ${MROOT} = / ]] || [[ -z ${MROOT} ]]   mstopunit rsyslog.service
  then  
  if [[ -x /bin/systemctl ]]  
  then  
  systemctl disable rsyslog.service  
  fi  
  fi  
192  }  }

Legend:
Removed from v.7864  
changed lines
  Added in v.7865