#!/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 $f for module autoloading"1>&2exit1fi
grepmajor-152$f>/dev/null
if[$?=1];thenechoaliasblock-major-152aoe>>$fechoaliaschar-major-152aoe>>$ffi