Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: init.d/
Date: Thu, 05 Jan 2012 12:59:25
Message-Id: dbfcf232734439da3ded008af36fc1128375b437.WilliamH@gentoo
1 commit: dbfcf232734439da3ded008af36fc1128375b437
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 5 12:55:08 2012 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 5 12:55:08 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=dbfcf232
7
8 really disable /var/{lock,run} migration to /run
9
10 This needs to be disabled until we have tmpfiles.d support. The previous
11 method did not disable it correctly.
12
13 ---
14 init.d/bootmisc.in | 2 +-
15 1 files changed, 1 insertions(+), 1 deletions(-)
16
17 diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in
18 index 50c5641..ee3c20c 100644
19 --- a/init.d/bootmisc.in
20 +++ b/init.d/bootmisc.in
21 @@ -117,7 +117,7 @@ start()
22 fi
23 done
24
25 - if [ "$RC_UNAME" = Linux -a -d /run -a false ]; then
26 + if [ "$RC_UNAME" = Linux -a -d /run ] && false; then
27 migrate_to_run /var/lock /run/lock
28 migrate_to_run /var/run /run
29 fi