]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-svn.patch
- rel 3; netfs vserver fix
[packages/rc-scripts.git] / rc-scripts-svn.patch
1 Index: rc.d/rc.sysinit
2 ===================================================================
3 --- rc.d/rc.sysinit     (wersja 12018)
4 +++ rc.d/rc.sysinit     (kopia robocza)
5 @@ -272,7 +272,7 @@
6  
7         # cgroup/cpuset support
8         if grep -q cgroup /proc/filesystems 2>/dev/null ; then
9 -               if ! grep -q cgroup /etc/fstab 2>/dev/null ; then
10 +               if ! grep -q "^[^#].*cgroup" /etc/fstab 2>/dev/null ; then
11                         # creating is more convenient than artificial conflict with older udev
12                         mkdir -p /dev/cgroup
13                         # mount w/o options enables all available cgroup subsystems
14 @@ -280,7 +280,7 @@
15                         mount -n -t cgroup none /dev/cgroup
16                 fi
17         elif grep -q cpuset /proc/filesystems 2>/dev/null ; then
18 -               if ! grep -q cpuset /etc/fstab 2>/dev/null ; then
19 +               if ! grep -q "^[^#].*cpuset" /etc/fstab 2>/dev/null ; then
20                         mount -n -t cpuset none /dev/cpuset
21                 fi
22         fi
23 Index: rc.d/init.d/netfs
24 ===================================================================
25 --- rc.d/init.d/netfs   (wersja 12019)
26 +++ rc.d/init.d/netfs   (kopia robocza)
27 @@ -15,6 +15,10 @@
28  . /etc/rc.d/init.d/cryptsetup
29  . /etc/sysconfig/network
30  
31 +if is_yes "$VSERVER"; then
32 +       exit 0
33 +fi
34 +
35  # nfs uses own script for that
36  if [ ! -f /etc/rc.d/init.d/nfsfs ]; then
37         NFSFSTAB=$(LC_ALL=C awk '!/^#/ && $3 ~ /^nfs/ && $3 != "nfsd" && $4 !~ /noauto/ { print $2 }' /etc/fstab)
This page took 0.033705 seconds and 3 git commands to generate.