]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-vserver-is-chroot.patch
- missing feature
[packages/rc-scripts.git] / rc-scripts-vserver-is-chroot.patch
1 diff -ur rc-scripts-0.4.0.25/rc.d/init.d/functions rc-scripts/rc.d/init.d/functions
2 --- rc-scripts-0.4.0.25/rc.d/init.d/functions   2005-11-26 16:15:22.000000000 +0100
3 +++ rc-scripts/rc.d/init.d/functions    2006-01-20 16:40:17.000000000 +0100
4 @@ -392,8 +392,13 @@
5  # - inside chroot get only those processes, which are inside chroot.
6  # - don't filter out pids which do not have corresponding running processes (process died etc)
7  # (note: some processes like named are chrooted but run outside chroot)
8 +# - do nothing inside vserver
9  filter_chroot()
10  {
11 +       if is_yes "$VSERVER"; then
12 +               echo $@
13 +               return
14 +       fi
15         if [ $# -lt 1 -o ! -d /proc/1 ] ; then
16                 echo $@
17                 return
This page took 0.030634 seconds and 3 git commands to generate.