debian/rules: Stop the nut-client before nut-server on systems using static boot ordering (Closes: #679451)

This commit is contained in:
Laurent Bigonville 2012-08-09 10:36:09 +02:00
parent 39a7ae33fb
commit 4f4f1f9119
2 changed files with 9 additions and 2 deletions

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
nut (2.6.4-2) UNRELEASED; urgency=low
* debian/rules: Stop the nut-client before nut-server on systems using static
boot ordering (Closes: #679451)
-- Laurent Bigonville <bigon@debian.org> Thu, 09 Aug 2012 10:31:05 +0200
nut (2.6.4-1) unstable; urgency=high
* New upstream release (Closes: #671444)

4
debian/rules vendored
View file

@ -76,8 +76,8 @@ common-install-indep::
binary-install/nut-monitor::
dh_python2 -pnut-monitor
DEB_DH_INSTALLINIT_ARGS_nut-server := --init-script=nut-server -- start 50 2 3 4 5 . stop 50 0 1 6 .
DEB_DH_INSTALLINIT_ARGS_nut-client := --init-script=nut-client -- start 51 2 3 4 5 . stop 51 0 1 6 .
DEB_DH_INSTALLINIT_ARGS_nut-server := --init-script=nut-server -- start 50 2 3 4 5 . stop 51 0 1 6 .
DEB_DH_INSTALLINIT_ARGS_nut-client := --init-script=nut-client -- start 51 2 3 4 5 . stop 50 0 1 6 .
DEB_DH_COMPRESS_ARGS_nut-doc := -X.pdf
ifeq (linux,$(DEB_HOST_ARCH_OS))