diff --git a/smartd.initd b/smartd.initd index 722ae98..92901d8 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:02:24 mhlavink Exp $ +# $Id: smartd.initd,v 1.9 2009/10/09 18:09:53 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 1c664b5..2b365d6 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -1,7 +1,7 @@ Summary: Tools for monitoring SMART capable hard disks Name: smartmontools Version: 5.38 -Release: 19%{?dist} +Release: 20%{?dist} Epoch: 1 Group: System Environment/Base License: GPLv2+ @@ -79,6 +79,9 @@ fi %config(noreplace) %{_sysconfdir}/sysconfig/smartmontools %changelog +* Fri Oct 09 2009 Michal Hlavinka - 1:5.38-20 +- fix init script for case when no action was specified + * Fri Oct 09 2009 Michal Hlavinka - 1:5.38-19 - make init script lsb compliant (#528016)