From 8364aa7b8e961c2afaf3837418fcb30187291b1d Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 6 Apr 2015 18:50:09 +0200 Subject: [PATCH] init.d: load AXE modules in rcSBB --- fs-add/etc/init.d/axe | 3 +-- fs-add/etc/init.d/rcSBB | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/fs-add/etc/init.d/axe b/fs-add/etc/init.d/axe index 38f075e8..90256f68 100755 --- a/fs-add/etc/init.d/axe +++ b/fs-add/etc/init.d/axe @@ -1,9 +1,8 @@ #!/bin/sh echo "Starting axe services:" -ln -s /lib/modules /root/modules mknod -m 0777 /tmp/usbdevmon125788 p -source /lib/modules/load_modules.sh +source /lib/modules/load_env.sh cd /root export AXE_API_TYPE=linuxdvb exec ./main_axe.out diff --git a/fs-add/etc/init.d/rcSBB b/fs-add/etc/init.d/rcSBB index 29155ad5..2dfbe4b0 100755 --- a/fs-add/etc/init.d/rcSBB +++ b/fs-add/etc/init.d/rcSBB @@ -25,6 +25,10 @@ mount -t tmpfs -o size=1M tmpfs /tmp # start syslogd syslogd -C256 +# AXE modules +ln -s /lib/modules /root/modules +/lib/modules/load_modules.sh + # config/data storage mkdir -p /mnt/data mount -t jffs2 /dev/mtdblock4 /mnt/data/