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' ] if [ "$0" = '/init' ]
then then
[ -e /linuxrc ] && rm /linuxrc [ -e /linuxrc ] && rm /linuxrc
fi
if [ -e /bin/lvm ]
then if [ -e /bin/lvm ]
ln -s /bin/lvm /bin/vgscan then
ln -s /bin/lvm /bin/vgchange [ -e /bin/vgscan ] || ln -s /bin/lvm /bin/vgscan
fi [ -e /bin/vgchange ] || ln -s /bin/lvm /bin/vgchange
fi fi
quiet_kmsg quiet_kmsg

Loading…
Cancel
Save