void-packages/srcpkgs/dmraid/files/dmraid.initramfs-local-top

26 lines
317 B
Text
Raw Normal View History

2012-05-11 02:45:15 +00:00
#!/bin/sh
# local-top script for dmraid.
PREREQS=""
prereqs()
{
echo $PREREQS
}
case $1 in
# get pre-requisites
prereqs)
prereqs
exit 0
;;
esac
# Activate any dmraid arrays that were not identified by udev and vol_id.
if devices=$(dmraid -r -c); then
for dev in $devices; do
dmraid-activate $dev
done
fi