ready for tagging
[util-vserver.git] / gentoo / vprocunhide
1 #!/sbin/runscript
2 # Copyright 1999-2005 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4
5 start() {
6         : ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
7         if [ ! -e ${UTIL_VSERVER_VARS} ]; then
8                 eerror "Cannot find util-vserver installation"
9                 eerror "(the file '$UTIL_VSERVER_VARS' would be expected)"
10                 return 1
11         fi
12         
13         . ${UTIL_VSERVER_VARS}
14         
15         ebegin "Fixing /proc entries visibility"
16         ${_VPROCUNHIDE}
17         eend $?
18 }
19
20 # vim:ts=4:filetype=gentoo-init-d