diff options
Diffstat (limited to 'sys-cluster/util-vserver/files/vprocunhide')
-rw-r--r-- | sys-cluster/util-vserver/files/vprocunhide | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/sys-cluster/util-vserver/files/vprocunhide b/sys-cluster/util-vserver/files/vprocunhide deleted file mode 100644 index e337317e5223..000000000000 --- a/sys-cluster/util-vserver/files/vprocunhide +++ /dev/null @@ -1,53 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need localmount -} - -start() { - - ebegin "Fixing /proc entries visibility..." - lockfile=/var/run/vprocunhide.lock - - /usr/lib/util-vserver/vprocunhide - - rc=$? - case "$rc" in - 2) rc=0;; - esac - test "$rc" -ne 0 || touch "$lockfile" - eend $rc "Failed" - -} - -stop() -{ - ebegin "Stopping vprocunhide" - lockfile=/var/run/vprocunhide.lock - rm -f "$lockfile" - eend $? "Failed" -} - - -restart() -{ - stop - start -} - -status() -{ - lockfile=/var/run/vprocunhide.lock - - test -f $lockfile && { - echo $"/proc entries were fixed" - exit 0 - } - echo $"/proc entries are not fixed" - exit 1 - -} - - |