diff --git a/netlabel b/netlabel index 4be35bd..b0f0a55 100755 --- a/netlabel +++ b/netlabel @@ -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 } diff --git a/netlabel_tools.spec b/netlabel_tools.spec index fc617a4..c71b2ac 100644 --- a/netlabel_tools.spec +++ b/netlabel_tools.spec @@ -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 0.19-6 +- make initscript LSB compliant (#522818) + * Wed Sep 23 2009 Peter Vrabec 0.19-5 - increase rel. number