]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/files/ipaq-hal.init
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / files / ipaq-hal.init
1 #!/bin/sh
2
3 # make sure update-modules has been run
4 # since the calls below depend on aliases...
5 if [ ! -f /etc/modules.conf ]; then 
6   update-modules || true
7 fi
8
9 modprobe ipaq_hal || exit 0
10
11 if [ -d /proc/hal ]; then
12   model=`cat /proc/hal/model`
13   modprobe ipaq_hal_$model
14 fi