]> git.pld-linux.org Git - packages/rc-scripts.git/blob - rc-scripts-no-head.patch
- outdated
[packages/rc-scripts.git] / rc-scripts-no-head.patch
1 diff -urN rc-scripts-0.4.0.10.org/rc.d/rc.sysinit rc-scripts-0.4.0.10/rc.d/rc.sysinit
2 --- rc-scripts-0.4.0.10.org/rc.d/rc.sysinit     2004-05-17 02:20:31.352691184 +0200
3 +++ rc-scripts-0.4.0.10/rc.d/rc.sysinit 2004-05-17 02:20:56.136923408 +0200
4 @@ -451,7 +451,7 @@
5  fi
6  # LVM
7  if is_yes "$EVMS_LVM" || [ -x /sbin/vgscan -a -x /sbin/vgchange ]; then
8 -       lvmversion=$(/sbin/vgchange --version 2>/dev/null|head -n 1|awk '{gsub("vgchange: Logical Volume Manager ",""); gsub("LVM version:     ",""); gsub(/\..*/,"");print $1}')
9 +       lvmversion=$(/sbin/vgchange --version 2>/dev/null|awk '{gsub("vgchange: Logical Volume Manager ",""); gsub("LVM version:     ",""); gsub(/\..*/,"");print $1; exit}')
10         if [ "$lvmversion" = "1" ] ; then
11                 modprobe -s -k lvm-mod >/dev/null 2>&1
12                 lvmignorelock=""
This page took 0.062605 seconds and 3 git commands to generate.