SOURCES: vprocunhide.init - keep in sync what upstream does by dropping _SE...
arekm
arekm at pld-linux.org
Wed Nov 12 23:05:52 CET 2008
Author: arekm Date: Wed Nov 12 22:05:52 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- keep in sync what upstream does by dropping _SETATTR
---- Files affected:
SOURCES:
vprocunhide.init (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SOURCES/vprocunhide.init
diff -u SOURCES/vprocunhide.init:1.11 SOURCES/vprocunhide.init:1.12
--- SOURCES/vprocunhide.init:1.11 Tue Apr 29 22:43:37 2008
+++ SOURCES/vprocunhide.init Wed Nov 12 23:05:47 2008
@@ -26,10 +26,11 @@
fi
. "$UTIL_VSERVER_VARS"
+$_VSERVER_INFO - FEATURE iattr || exit 0
+
start() {
show "Fixing vservers /proc entries visibility"
busy
- ${_SETATTR} -Rx --hide /proc 2>/dev/null
$_VPROCUNHIDE
RETVAL=$?
deltext
@@ -42,10 +43,8 @@
}
stop() {
- # XXX why start and stop both do --hide?
show "Stopping vservers /proc entries visibility"
busy
- ${_SETATTR} -Rx --hide /proc 2>/dev/null
rm -f /var/lock/subsys/vprocunhide
ok
}
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/vprocunhide.init?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list