From: | "Jeremy Olexa (darkside)" <darkside@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/preload/files: init.d-preload |
Date: | Tue, 28 Oct 2008 13:05:01 |
Message-Id: | E1KuoFl-00015o-E1@stork.gentoo.org |
1 | darkside 08/10/28 13:04:57 |
2 | |
3 | Modified: init.d-preload |
4 | Log: |
5 | sys-apps/preload - fix another bashisms. bug #244491 |
6 | (Portage version: 2.2_rc12/cvs/Linux 2.6.27-git6 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.6 sys-apps/preload/files/init.d-preload |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/files/init.d-preload?rev=1.6&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/files/init.d-preload?rev=1.6&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/preload/files/init.d-preload?r1=1.5&r2=1.6 |
14 | |
15 | Index: init.d-preload |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v |
18 | retrieving revision 1.5 |
19 | retrieving revision 1.6 |
20 | diff -u -r1.5 -r1.6 |
21 | --- init.d-preload 28 Oct 2008 02:02:14 -0000 1.5 |
22 | +++ init.d-preload 28 Oct 2008 13:04:57 -0000 1.6 |
23 | @@ -1,7 +1,7 @@ |
24 | #!/sbin/runscript |
25 | # Copyright 1999-2008 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v 1.5 2008/10/28 02:02:14 darkside Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v 1.6 2008/10/28 13:04:57 darkside Exp $ |
29 | |
30 | depend() { |
31 | after localmount xdm |
32 | @@ -17,7 +17,7 @@ |
33 | IONICE="$(command -v ionice)" |
34 | if [ -x "${IONICE}" -a -n "${IONICE_OPTS}" ]; then |
35 | einfo "ionicing preload" |
36 | - "${IONICE}" "${IONICE_OPTS}" -p $(<${PIDFILE}) |
37 | + "${IONICE}" "${IONICE_OPTS}" -p $(cat ${PIDFILE}) |
38 | fi |
39 | eend $? |
40 | } |