#!/bin/sh# set aoe to autoload by installing the# aliases in /etc/modprobe.d/
f=/etc/modprobe.d/aoe.conf
iftest!-r$f||test!-w$f;thenecho"cannot configure$ffor module autoloading"1>&2exit1figrep major-152$f>/dev/null
if[ $? =1];thenecho alias block-major-152 aoe >>$fecho alias char-major-152 aoe >>$ffi