#!/bin/sh # make sure update-modules has been run # since the calls below depend on aliases... if [ ! -f /etc/modules.conf ]; then update-modules || true fi modprobe ipaq_hal || exit 0 if [ -d /proc/hal ]; then model=`cat /proc/hal/model` modprobe ipaq_hal_$model fi