commit:     8d307a6fadd516f26d9c72016119277a7a5c1946
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Apr 17 19:15:59 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Apr 17 19:15:59 2015 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=8d307a6f

procfs: remove redundant check for OpenVZ

The check for OpenVZ is not necessary since the procfs service already
will not run on OpenVZ due to the keywords setting.

 init.d/procfs.in | 2 --
 1 file changed, 2 deletions(-)

diff --git a/init.d/procfs.in b/init.d/procfs.in
index e7d4fce..888f062 100644
--- a/init.d/procfs.in
+++ b/init.d/procfs.in
@@ -41,8 +41,6 @@ start()
                fi
        fi
 
-       [ "$RC_SYS" = "OPENVZ" ] && return 0
-
        # Check what USB fs the kernel support.  Currently
        # 2.5+ kernels, and later 2.4 kernels have 'usbfs',
        # while older kernels have 'usbdevfs'.

Reply via email to