changed order of loading AXE modules (exclusive boot time), moved everything related to /lib/modules/axe

This commit is contained in:
Jaroslav Kysela
2015-04-09 20:33:19 +02:00
parent 3c9de865d1
commit edda1fc869
8 changed files with 20 additions and 25 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/sh
echo "Starting axe services:"
mknod -m 0777 /tmp/usbdevmon125788 p
source /lib/modules/load_env.sh
#echo "Starting axe services:"
#mknod -m 0777 /tmp/usbdevmon125788 p
source /lib/modules/axe/load_env.sh
cd /root
export AXE_API_TYPE=linuxdvb
exec ./main_axe.out
exec /lib/modules/axe/main_axe.out

View File

@@ -6,8 +6,6 @@ if test "$DROPBEAR" != "yes"; then
exit 0
fi
sleep 5
if ! test -r /etc/dropbear/dropbear_dss_host_key; then
mkdir -p /etc/dropbear
if test -r /etc/sysconfig/dropbear_dss_host_key; then

View File

@@ -37,9 +37,14 @@ sysctl -q -p
# start syslogd
syslogd -C256
# AXE modules
ln -s /lib/modules /root/modules
/lib/modules/load_modules.sh
# loopback
ifconfig lo 127.0.0.1 netmask 255.255.255.0
# AXE modules and AXE hw initialization
/lib/modules/axe/load_modules.sh
/etc/init.d/axe &
nc -l 127.0.0.1:1001 -e /bin/true
rm -f /root/main_init.sh
# config/data storage
mkdir -p /mnt/data
@@ -66,7 +71,6 @@ if test -n "$KMODULES"; then
fi
# basic network
ifconfig lo 127.0.0.1 netmask 255.255.255.0
ifconfig eth0 up
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0

View File

@@ -6,6 +6,4 @@ if test "$TELNETD" != "yes"; then
exit 0
fi
sleep 5
exec /usr/sbin/telnetd -F -l /bin/login

View File

@@ -6,14 +6,14 @@ ttyAS0::askfirst:/bin/sh
::once:/etc/init.d/network
# Time Network Protocol
::once:/etc/init.d/ntpd
# minisatip
::once:/etc/init.d/satip
# telnetd
::once:/etc/init.d/telnetd
# dropbear
::once:/etc/init.d/dropbear
# oscamd
::once:/etc/init.d/oscamd
# AXE kernel modules and environment
::once:/etc/init.d/axe
# Others
::ctrlaltdel:/sbin/reboot
::shutdown:/sbin/swapoff -a