Accepting request 43541 from home:elvigia:branches:Base:System
Copy from home:elvigia:branches:Base:System/at via accept of submit request 43541 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/43541 OBS-URL: https://build.opensuse.org/package/show/Base:System/at?expand=0&rev=14
This commit is contained in:
parent
59996ae0ae
commit
5f0d6322df
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 20 20:29:11 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||
|
||||
- wake up atd after suspend [bnc#592349]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 17 02:24:46 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||
|
||||
|
14
at.sleep
Normal file
14
at.sleep
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
case "$1" in
|
||||
hibernate|suspend)
|
||||
stopservice atd
|
||||
;;
|
||||
thaw|resume)
|
||||
restartservice atd
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
4
at.spec
4
at.spec
@ -32,6 +32,7 @@ Source: at_3.1.8-11.tar.gz
|
||||
Source1: atd.init
|
||||
Source2: atd.pamd
|
||||
Source3: sysconfig.atd
|
||||
Source4: at.sleep
|
||||
Patch0: %{name}-%{version}.patch
|
||||
Patch1: %{name}-%{version}-bison.patch
|
||||
Patch2: %{name}-%{version}-delete_r.patch
|
||||
@ -112,7 +113,7 @@ install %SOURCE1 $RPM_BUILD_ROOT/etc/init.d/atd
|
||||
ln -sf ../../etc/init.d/atd $RPM_BUILD_ROOT%{_sbindir}/rcatd
|
||||
install -m644 %SOURCE2 $RPM_BUILD_ROOT/etc/pam.d/atd
|
||||
install -m644 %SOURCE3 $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||
|
||||
%{__install} -D -m 0755 %{S:4} %{buildroot}%{_sysconfdir}/pm/sleep.d/99%{name}
|
||||
%pre
|
||||
%{_sbindir}/groupadd -g 25 -o -r at 2> /dev/null || :
|
||||
%{_sbindir}/useradd -r -o -g at -u 25 -s /bin/bash -c "Batch jobs daemon" -d /var/spool/atjobs at 2> /dev/null || :
|
||||
@ -138,6 +139,7 @@ fi
|
||||
%defattr(-,root,root)
|
||||
%doc Problems Copyright README ChangeLog timespec
|
||||
%config(noreplace) /etc/at.deny
|
||||
%config %{_sysconfdir}/pm/sleep.d/99%{name}
|
||||
%{_sbindir}/rcatd
|
||||
%config /etc/init.d/atd
|
||||
%config %attr(644,root,root) /etc/pam.d/atd
|
||||
|
Loading…
x
Reference in New Issue
Block a user