]> git.pld-linux.org Git - packages/util-vserver.git/commitdiff
- keep in sync what upstream does by dropping _SETATTR auto/ti/util-vserver-0_30_215-9
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 12 Nov 2008 22:05:47 +0000 (22:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vprocunhide.init -> 1.12

vprocunhide.init

index 317f6c6506354e5c09e24fa07689b0f942ade1ee..4bc80cef194ed898ff57dfd98f0835861a5b51f9 100644 (file)
@@ -26,10 +26,11 @@ if [ ! -e "$UTIL_VSERVER_VARS" ] ; then
 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 @@ start() {
 }
 
 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
 }
This page took 0.049124 seconds and 4 git commands to generate.