projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e590a49
)
Create /bin/vg* symlinks when called as /linuxrc, too (bug #307855)
author
Sebastian Pipping
<sebastian@pipping.org>
Tue, 11 Jan 2011 14:41:43 +0000
(15:41 +0100)
committer
Sebastian Pipping
<sebastian@pipping.org>
Tue, 11 Jan 2011 14:41:43 +0000
(15:41 +0100)
defaults/linuxrc
patch
|
blob
|
history
diff --git
a/defaults/linuxrc
b/defaults/linuxrc
index 1fc733b152489ff937606dc392029b7c230c1cd3..d87345092a1c7f026a34a2f1c911158703e9619a 100755
(executable)
--- a/
defaults/linuxrc
+++ b/
defaults/linuxrc
@@
-29,12
+29,12
@@
mount -o remount,rw / >/dev/null 2>&1
if [ "$0" = '/init' ]
then
[ -e /linuxrc ] && rm /linuxrc
-
- if [ -e /bin/lvm ]
- then
-
ln -s /bin/lvm /bin/vgsca
n
- ln -s /bin/lvm /bin/vgchange
- fi
+fi
+
+if [ -e /bin/lvm ]
+
the
n
+ [ -e /bin/vgscan ] || ln -s /bin/lvm /bin/vgscan
+ [ -e /bin/vgchange ] || ln -s /bin/lvm /bin/vgchange
fi
quiet_kmsg