"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "etc/bmc-watchdog.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)).

bmc-watchdog.init  (freeipmi-1.6.7):bmc-watchdog.init  (freeipmi-1.6.8)
skipping to change at line 16 skipping to change at line 16
### BEGIN INIT INFO ### BEGIN INIT INFO
# Provides: bmc-watchdog # Provides: bmc-watchdog
# 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 bmc-watchdog # Short-Description: Start and stop bmc-watchdog
# Description: BMC watchdog timer daemon # Description: BMC watchdog timer daemon
### END INIT INFO ### END INIT INFO
DAEMON=/usr/sbin/bmc-watchdog DAEMON=/usr/local/sbin/bmc-watchdog
PIDFILE=/var/run/bmc-watchdog.pid PIDFILE=/usr/local/var/run/bmc-watchdog.pid
LOCKFILE=/var/lock/subsys/bmc-watchdog LOCKFILE=/usr/local/var/lock/subsys/bmc-watchdog
CONFFILE=/etc/sysconfig/bmc-watchdog CONFFILE=/usr/local/etc/sysconfig/bmc-watchdog
[ -f $DAEMON ] || exit 5 [ -f $DAEMON ] || exit 5
if [ -r $CONFFILE ]; then if [ -r $CONFFILE ]; then
. $CONFFILE . $CONFFILE
fi fi
# 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() {
# Default deamon mode # Default deamon mode
# #
# timer use = SMS/OS # timer use = SMS/OS
# pre-timeout interrupt = none # pre-timeout interrupt = none
# action = reset # action = reset
# -F, -P, -L, -S, -O - clear flags # -F, -P, -L, -S, -O - clear flags
# initial-countdown = 900 seconds (15 mins) # initial-countdown = 900 seconds (15 mins)
# reset-period = 60 seconds # reset-period = 60 seconds
skipping to change at line 67 skipping to change at line 67
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 -20 $DAEMON $OPTIONS startproc -20 $DAEMON $OPTIONS
rc_status -v rc_status -v
RETVAL=$? RETVAL=$?
return $RETVAL return $RETVAL
} }
Xstop() { Xstop() {
killproc -TERM $DAEMON killproc -TERM $DAEMON
rc_status -v rc_status -v
RETVAL=$? RETVAL=$?
 End of changes. 3 change blocks. 
8 lines changed or deleted 8 lines changed or added

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