]> git.pld-linux.org Git - packages/rc-scripts.git/blame - rc-scripts-no-head.patch
- new
[packages/rc-scripts.git] / rc-scripts-no-head.patch
CommitLineData
a9d5defb
AM
1diff -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.023601 seconds and 4 git commands to generate.