drivers: power: report battery voltage in AOSP compatible format
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / Documentation / aoe / autoload.sh
CommitLineData
1da177e4
LT
1#!/bin/sh
2# set aoe to autoload by installing the
970e2486 3# aliases in /etc/modprobe.d/
1da177e4 4
970e2486 5f=/etc/modprobe.d/aoe.conf
1da177e4
LT
6
7if test ! -r $f || test ! -w $f; then
8 echo "cannot configure $f for module autoloading" 1>&2
9 exit 1
10fi
11
12grep major-152 $f >/dev/null
13if [ $? = 1 ]; then
14 echo alias block-major-152 aoe >> $f
15 echo alias char-major-152 aoe >> $f
16fi
17