make initscript LSB compliant (#522818)

This commit is contained in:
Peter Vrabec 2009-09-23 12:15:46 +00:00
parent 5d94398178
commit fd6a7850e2
2 changed files with 6 additions and 3 deletions

View File

@ -69,7 +69,7 @@ status() {
# Do not print status if lockfile is missing
if [ ! -f "$VAR_SUBSYS_NETLABEL" ]; then
echo $"Netlabel is stopped."
return 7
return 3
fi
# List rules
@ -79,7 +79,7 @@ status() {
ret2="$?"
if [ "$ret1" != "0" -o "$ret2" != "0" ] ; then
return 1
return 2
fi
return 0
}

View File

@ -1,7 +1,7 @@
Summary: Tools to manage the Linux NetLabel subsystem
Name: netlabel_tools
Version: 0.19
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv2
Group: System Environment/Daemons
URL: http://netlabel.sf.net/
@ -51,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_mandir}/man8/*
%changelog
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-6
- make initscript LSB compliant (#522818)
* Wed Sep 23 2009 Peter Vrabec <pvrabec@redhat.com> 0.19-5
- increase rel. number