#!/bin/sh
#INIT 60
[[ $1 = autostart ]] || exit 0

# any lvm volumes to activate?
[ -x /usr/sbin/lvm ] && { lvm vgscan; lvm vgchange -ay;}
# check and mount all filesystems not /
[ -f /etc/fstab ] && { fsck -p >/dev/null; mount -a; swapon -a;}

exit 0
