init.d: load AXE modules in rcSBB

This commit is contained in:
Jaroslav Kysela 2015-04-06 18:50:09 +02:00
parent 0c159293c5
commit 8364aa7b8e
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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/