fix incorrect option in test in 56atd

This commit is contained in:
Marcela Mašláňová 2011-11-14 10:42:16 +01:00
parent e595e9b0c0
commit 4c35e57e8e
2 changed files with 5 additions and 2 deletions

2
56atd
View File

@ -7,7 +7,7 @@ case "$1" in
hibernate|suspend) hibernate|suspend)
;; ;;
thaw|resume) thaw|resume)
if [ -d /etc/init.d/atd ]; then if [ -f /etc/init.d/atd ]; then
/etc/init.d/atd restart /etc/init.d/atd restart
elif elif
systemctl try-restart atd.service systemctl try-restart atd.service

View File

@ -3,7 +3,7 @@
Summary: Job spooling tools Summary: Job spooling tools
Name: at Name: at
Version: 3.1.13 Version: 3.1.13
Release: 3%{dist} Release: 4%{dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://ftp.debian.org/debian/pool/main/a/at URL: http://ftp.debian.org/debian/pool/main/a/at
@ -188,6 +188,9 @@ fi
%attr(0755,root,root) %{_initrddir}/atd %attr(0755,root,root) %{_initrddir}/atd
%changelog %changelog
* Mon Nov 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-4
- fix incorrect option in test in 56atd
* Wed Sep 4 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-3 * Wed Sep 4 2011 Marcela Mašláňová <mmaslano@redhat.com> - 3.1.13-3
- 729742 fix 56atd script for systemd - 729742 fix 56atd script for systemd