From 9ef5c73e5210a6081453363f5b2c88e80fe67146 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Oct 09 2009 18:37:21 +0000 Subject: - fix init script for case when no action was specified --- diff --git a/smartd.initd b/smartd.initd index 1d2a3bc..f102375 100644 --- a/smartd.initd +++ b/smartd.initd @@ -2,7 +2,7 @@ # smartmontools init file for smartd # Copyright (C) 2002-4 Bruce Allen -# $Id: smartd.initd,v 1.8 2009/10/09 09:11:47 mhlavink Exp $ +# $Id: smartd.initd,v 1.9 2009/10/09 18:37:21 mhlavink Exp $ # For RedHat and cousins: # chkconfig: - 99 01 @@ -123,7 +123,7 @@ case "$1" in *) echo $"Usage: $0 {start|stop|restart|status|condrestart|try-restart|reload|force-reload|report}" RETVAL=2 - [ $1 = 'usage' ] && RETVAL=0 + [ '$1' = 'usage' ] && RETVAL=0 esac exit $RETVAL diff --git a/smartmontools.spec b/smartmontools.spec index dc57ca2..018e8cd 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -1,6 +1,6 @@ Name: smartmontools Version: 5.38 -Release: 15%{?dist} +Release: 16%{?dist} Epoch: 1 Summary: Tools for monitoring SMART capable hard disks Group: System Environment/Base @@ -79,6 +79,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/smartmontools %changelog +* Fri Oct 09 2009 Michal Hlavinka - 1:5.38-16 +- fix init script for case when no action was specified + * Fri Oct 09 2009 Michal Hlavinka - 1:5.38-15 - make init script lsb compliant (#528016)