summaryrefslogtreecommitdiff
path: root/linux/files
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-07-05 22:24:06 +0000
committerPhil Blundell <philb@gnu.org>2004-07-05 22:24:06 +0000
commit8a1acbd3e616b373ec606643c4e1a0b75c0a51fa (patch)
tree5b4e5de02fb758115c2b3e80766d7ad435d7b63d /linux/files
parent4f0dcc80f63d76a49be59e0659858139b0a1243f (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into dixie.nexus.co.uk:/home/pb/oe/oe-packages 2004/07/05 23:23:52+01:00 nexus.co.uk!pb remove extraneous spaces BKrev: 40e9d506eSdfq5mF-mMyxNtZ-dlxfg
Diffstat (limited to 'linux/files')
-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