From: Rene Wagner Date: Thu, 5 Aug 2004 23:29:56 +0000 (+0000) Subject: ipaq-hal.init: X-Git-Tag: Release-2010-05/1~17783 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c42c34733d43c429dff3ddfee739add3ed592bf1;p=openembedded.git ipaq-hal.init: run update-modules if /etc/modules.conf doesn't exist so that aliases work BKrev: 4112c2f4hPWCYSNwnY8W52m1yqZ75g --- diff --git a/linux/files/ipaq-hal.init b/linux/files/ipaq-hal.init index 6d93078847..4efb52ec97 100644 --- a/linux/files/ipaq-hal.init +++ b/linux/files/ipaq-hal.init @@ -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