"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "etc/ipmiseld.init" between
freeipmi-1.6.7.tar.gz and freeipmi-1.6.8.tar.gz

About: GNU FreeIPMI provides in-band and out-of-band IPMI software based on the IPMI (Intelligent Platform Management Interface) v1.5/2.0 specification that defines a set of interfaces for platform management (like sensor monitoring (i.e. CPU temperatures, fan speeds), remote power control, and serial-over-LAN (SOL)).

ipmiseld.init  (freeipmi-1.6.7):ipmiseld.init  (freeipmi-1.6.8)
skipping to change at line 17 skipping to change at line 17
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: ipmiseld # Provides: ipmiseld
# Required-Start: $network $remote_fs $syslog # Required-Start: $network $remote_fs $syslog
# Required-Stop: $network $remote_fs $syslog # Required-Stop: $network $remote_fs $syslog
# Default-Start: 3 5 # Default-Start: 3 5
# Default-Stop: 0 1 2 6 # Default-Stop: 0 1 2 6
# Short-Description: Start and stop ipmidetectd # Short-Description: Start and stop ipmidetectd
# Description: IPMI SEL sylog logging daemon # Description: IPMI SEL sylog logging daemon
### END INIT INFO ### END INIT INFO
IPMISELD=/usr/sbin/ipmiseld IPMISELD=/usr/local/sbin/ipmiseld
IPMISELD_CONF=/etc/freeipmi/ipmiseld.conf IPMISELD_CONF=/usr/local/etc/freeipmi/ipmiseld.conf
LOCKFILE=/var/lock/subsys/ipmiseld LOCKFILE=/usr/local/var/lock/subsys/ipmiseld
[ -f $IPMISELD ] || exit 5 [ -f $IPMISELD ] || exit 5
[ -f $IPMISELD_CONF ] || exit 6 [ -f $IPMISELD_CONF ] || exit 6
# Load Redhat or Suse appropriate libs # Load Redhat or Suse appropriate libs
if [ -f /etc/rc.d/init.d/functions ] ; then if [ -f /usr/local/etc/rc.d/init.d/functions ] ; then
. /etc/rc.d/init.d/functions . /usr/local/etc/rc.d/init.d/functions
Xstart() { Xstart() {
daemon $IPMISELD daemon $IPMISELD
RETVAL=$? RETVAL=$?
echo echo
[ $RETVAL -eq 0 ] && touch $LOCKFILE [ $RETVAL -eq 0 ] && touch $LOCKFILE
} }
Xstop() { Xstop() {
killproc ipmiseld -TERM killproc ipmiseld -TERM
RETVAL=$? RETVAL=$?
echo echo
skipping to change at line 54 skipping to change at line 54
Xcondrestart() { Xcondrestart() {
if test -e $LOCKFILE; then if test -e $LOCKFILE; then
$0 stop $0 stop
$0 start $0 start
RETVAL=$? RETVAL=$?
fi fi
} }
Xexit() { Xexit() {
exit $RETVAL exit $RETVAL
} }
elif [ -f /etc/rc.status ] ; then elif [ -f /usr/local/etc/rc.status ] ; then
. /etc/rc.status . /usr/local/etc/rc.status
Xstart() { Xstart() {
startproc $IPMISELD startproc $IPMISELD
rc_status -v rc_status -v
} }
Xstop() { Xstop() {
killproc -TERM $IPMISELD killproc -TERM $IPMISELD
rc_status -v rc_status -v
} }
Xstatus() { Xstatus() {
echo -n "Checking for ipmiseld: " echo -n "Checking for ipmiseld: "
 End of changes. 3 change blocks. 
7 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)