- fix init script for case when no action was specified
This commit is contained in:
parent
9cd7b15c03
commit
b6eb32559f
@ -2,7 +2,7 @@
|
||||
|
||||
# smartmontools init file for smartd
|
||||
# Copyright (C) 2002-4 Bruce Allen <smartmontools-support@lists.sourceforge.net>
|
||||
# $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
|
||||
|
@ -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 <mhlavink@redhat.com> - 1:5.38-20
|
||||
- fix init script for case when no action was specified
|
||||
|
||||
* Fri Oct 09 2009 Michal Hlavinka <mhlavink@redhat.com> - 1:5.38-19
|
||||
- make init script lsb compliant (#528016)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user