]> git.openpandora.org Git - openembedded.git/commitdiff
ipaq-hal.init:
authorRene Wagner <rw@handhelds.org>
Thu, 5 Aug 2004 23:29:56 +0000 (23:29 +0000)
committerRene Wagner <rw@handhelds.org>
Thu, 5 Aug 2004 23:29:56 +0000 (23:29 +0000)
  run update-modules if /etc/modules.conf doesn't exist so that aliases work

BKrev: 4112c2f4hPWCYSNwnY8W52m1yqZ75g

linux/files/ipaq-hal.init

index 6d93078847cf04f157d3cec8071aa75124f08646..4efb52ec972fed5b3fb2218f49484cb03ec44056 100644 (file)
@@ -1,5 +1,11 @@
 #!/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