CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Fixed issue with modules from rc startup
authorJose V Beneyto <sepen@crux.nu>
Fri, 1 Jun 2012 10:50:23 +0000 (10:50 +0000)
committerJose V Beneyto <sepen@crux.nu>
Fri, 1 Jun 2012 10:50:23 +0000 (10:50 +0000)
filesystem/rc

index 4ab1ecdf6e7fa1dd97cb294df21b098c8ff2a8f3..8fd3474ac63b408b25d090a60aa1497a6e9ffed1 100755 (executable)
@@ -79,10 +79,10 @@ find_and_mount_media() {
                echo
        else
                # configure modules
-               MODULES="`find /media/crux/kernel -type d -name 'modules-*.tar.*'`"
+               MODULES="`find /media/crux/kernel -type f -name 'modules-*.tar.*'`"
                if [ ! -z "$MODULES" ]; then
                        tar -C /tmp -xf $MODULES
-                       cd /lib && ln -s /lib/* .
+                       cd /lib && ln -s /tmp/lib/* .
                        depmod
                fi
                # configure pkgutils