changed order of loading AXE modules (exclusive boot time), moved everything related to /lib/modules/axe
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -6,6 +6,4 @@ if test "$TELNETD" != "yes"; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
sleep 5
|
||||
|
||||
exec /usr/sbin/telnetd -F -l /bin/login
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user