Create /bin/vg* symlinks when called as /linuxrc, too (bug #307855)

cleanup-cruft
Sebastian Pipping 14 years ago
parent e590a493ea
commit b4f310213e

@ -29,12 +29,12 @@ mount -o remount,rw / >/dev/null 2>&1
if [ "$0" = '/init' ]
then
[ -e /linuxrc ] && rm /linuxrc
fi
if [ -e /bin/lvm ]
then
ln -s /bin/lvm /bin/vgscan
ln -s /bin/lvm /bin/vgchange
fi
if [ -e /bin/lvm ]
then
[ -e /bin/vgscan ] || ln -s /bin/lvm /bin/vgscan
[ -e /bin/vgchange ] || ln -s /bin/lvm /bin/vgchange
fi
quiet_kmsg

Loading…
Cancel
Save