summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/files/ipaq-hal.init8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/files/ipaq-hal.init b/linux/files/ipaq-hal.init
index e69de29bb2..6d93078847 100644
--- a/linux/files/ipaq-hal.init
+++ b/linux/files/ipaq-hal.init
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+modprobe ipaq_hal || exit 0
+
+if [ -d /proc/hal ]; then
+ model=`cat /proc/hal/model`
+ modprobe ipaq_hal_$model
+fi