summaryrefslogtreecommitdiffstats
path: root/remote
diff options
context:
space:
mode:
authorJonathan Bauer2013-05-03 18:22:38 +0200
committerJonathan Bauer2013-05-03 18:22:38 +0200
commit1fed60d15bad9befcaa9fe8896e94f5247d18d95 (patch)
tree13b0922d6226672ee2f8aba462a1190f1b4dba50 /remote
parentgeneral rsyslog conf file (diff)
parentTweak mod loading in stage31 (diff)
downloadtm-scripts-1fed60d15bad9befcaa9fe8896e94f5247d18d95.tar.gz
tm-scripts-1fed60d15bad9befcaa9fe8896e94f5247d18d95.tar.xz
tm-scripts-1fed60d15bad9befcaa9fe8896e94f5247d18d95.zip
Merge branch 'master' of git:openslx-ng/tm-scripts
Diffstat (limited to 'remote')
-rwxr-xr-xremote/rootfs/rootfs-stage31/data/init4
1 files changed, 3 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init
index 01a74f23..1e41012e 100755
--- a/remote/rootfs/rootfs-stage31/data/init
+++ b/remote/rootfs/rootfs-stage31/data/init
@@ -27,8 +27,10 @@ echo "/sbin/mdev" > /proc/sys/kernel/hotplug
# TODO: must ugly hack ever... needs to be improved when we add prop drivers
for DRM in /lib/modules/*/kernel/drivers/gpu/drm/*.ko /lib/modules/*/kernel/drivers/gpu/drm/*/*.ko; do
+ DRM="$(basename "$DRM")"
+ DRM="${DRM%.ko}"
echo "Trying to load module $DRM"
- insmod "$DRM"
+ modprobe "$DRM"
done
# read kernel command line for debugging switch