Diff for /embedaddon/smartmontools/smartd.initd.in between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 16:32:16 version 1.1.1.2, 2013/07/22 01:17:36
Line 27 Line 27
 # Software Foundation; either version 2, or (at your option) any later  # Software Foundation; either version 2, or (at your option) any later
 # version.   # version. 
 # You should have received a copy of the GNU General Public License (for  # You should have received a copy of the GNU General Public License (for
# example COPYING); if not, write to the Free Software Foundation, Inc., 675# example COPYING); if not, write to the Free Software Foundation, Inc.,
# Mass Ave, Cambridge, MA 02139, USA.# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 # This code was originally developed as a Senior Thesis by Michael Cornwell  # This code was originally developed as a Senior Thesis by Michael Cornwell
 # at the Concurrent Systems Laboratory (now part of the Storage Systems  # at the Concurrent Systems Laboratory (now part of the Storage Systems
 # Research Center), Jack Baskin School of Engineering, University of  # Research Center), Jack Baskin School of Engineering, University of
Line 227  elif [ -f /etc/SuSE-release ] ; then Line 227  elif [ -f /etc/SuSE-release ] ; then
     if test -n "$SMARTD_DRIVEDB" ; then      if test -n "$SMARTD_DRIVEDB" ; then
        smartd_opts="$smartd_opts -B $SMARTD_DRIVEDB"         smartd_opts="$smartd_opts -B $SMARTD_DRIVEDB"
     fi      fi
       if test "$SMARTD_SAVESTATES" = "no" ; then
           smartd_opts="$smartd_opts -s \"\""
       fi
       if test "$SMARTD_ATTRLOG" = "no" ; then
           smartd_opts="$smartd_opts -A \"\""
       fi
       if test -n "$SMARTD_EXTRA_OPTS" ; then
           smartd_opts="$smartd_opts $SMARTD_EXTRA_OPTS"
       fi
   
     # Shell functions sourced from /etc/rc.status:      # Shell functions sourced from /etc/rc.status:
     #      rc_check         check and set local and overall rc status      #      rc_check         check and set local and overall rc status
Line 269  elif [ -f /etc/SuSE-release ] ; then Line 278  elif [ -f /etc/SuSE-release ] ; then
   
             # We don't use startproc - we need to check for return code 17.              # We don't use startproc - we need to check for return code 17.
             if ! /sbin/checkproc $SMARTD_BIN ; then              if ! /sbin/checkproc $SMARTD_BIN ; then
                $SMARTD_BIN $smartd_opts                eval $SMARTD_BIN$smartd_opts
                 # Remember status and be verbose                  # Remember status and be verbose
                 if test $? -ne 17 ; then                  if test $? -ne 17 ; then
                     rc_status -v                      rc_status -v

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>