mirror of
https://github.com/gutosie/neoboot.git
synced 2025-11-01 11:55:47 +01:00
Update dminit
This commit is contained in:
@@ -31,11 +31,17 @@ if [ ! -d $LIBDIR ]; then
|
||||
LIBDIR=/lib/modules/`ls /lib/modules | tail -n 1`
|
||||
fi
|
||||
if [ `mount | grep /proc | wc -l` -lt 1 ]; then
|
||||
/bin/mount -a
|
||||
/bin/mount -t auto
|
||||
/bin/mount -t proc proc /proc > /dev/null 2>&1
|
||||
/bin/mount -t sysfs sysfs /sys > /dev/null 2>&1
|
||||
/sbin/depmod -Ae > /dev/null 2>&1
|
||||
fi
|
||||
/squashfs-images/dreambox-dvb-modules-sqsh-img
|
||||
/etc/init.d/dreambox-squashfs-support start > /dev/null 2>&1
|
||||
/etc/init.d/udev start > /dev/null 2>&1
|
||||
/etc/init.d/.mmodprobe start > /dev/null 2>&1
|
||||
/etc/init.d/alsa-state
|
||||
fi
|
||||
|
||||
if [ `uname -r | grep 2.6.12 | wc -l` -lt 1 ]; then
|
||||
if [ ! -e /dev/.udev -a -e /etc/init.d/udev ]; then
|
||||
/etc/init.d/udev start > /dev/null 2>&1
|
||||
@@ -62,12 +68,12 @@ $MODPROBE /sbin/modprobe --force lcd > /dev/null 2>&1
|
||||
# for dm500hd and probably dm800se
|
||||
$MODPROBE bcm7405 > /dev/null 2>&1
|
||||
fi
|
||||
# while true; do
|
||||
# if [ -e /dev/dvb/adapter0/video0 ]; then
|
||||
# break;
|
||||
# fi;
|
||||
# done;
|
||||
# cat /proc/stb/avs/0/colorformat > /proc/stb/avs/0/colorformat
|
||||
while true; do
|
||||
if [ -e /dev/dvb/adapter0/video0 ]; then
|
||||
break;
|
||||
fi;
|
||||
done;
|
||||
cat /proc/stb/avs/0/colorformat > /proc/stb/avs/0/colorformat
|
||||
|
||||
if [ -f $LIBDIR/kernel/fs/autofs4/autofs4.ko ]; then
|
||||
/sbin/insmod $LIBDIR/kernel/fs/autofs4/autofs4.ko > /dev/null 2>&1
|
||||
@@ -151,14 +157,6 @@ $MODPROBE /sbin/modprobe --force lcd > /dev/null 2>&1
|
||||
cat /etc/videomode > /proc/stb/video/videomode
|
||||
#we must wait until udev has created the video device
|
||||
(
|
||||
if [ -d /proc/stb ]; then
|
||||
while true; do
|
||||
if [ -e /dev/dvb/adapter0/video0 ]; then
|
||||
break;
|
||||
fi;
|
||||
done;
|
||||
cat /proc/stb/avs/0/colorformat > /proc/stb/avs/0/colorformat
|
||||
fi;
|
||||
[ -e /etc/dropbear/dropbear_rsa_host_key ] && /usr/bin/showiframe /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/neowait.mvi;
|
||||
) &
|
||||
/etc/init.d/bootlogo > /dev/null 2>&1
|
||||
@@ -246,7 +244,13 @@ $MODPROBE /sbin/modprobe --force lcd > /dev/null 2>&1
|
||||
/bin/mount -o bind /dev $NEODEVICE$IMAGEKATALOG/$TARGET/dev
|
||||
/bin/mount -o bind /proc $NEODEVICE$IMAGEKATALOG/$TARGET/proc
|
||||
/bin/mount -o bind /sys $NEODEVICE$IMAGEKATALOG/$TARGET/sys
|
||||
|
||||
|
||||
$NEODEVICE$IMAGEKATALOG/$TARGET/squashfs-images/dreambox-dvb-modules-sqsh-img
|
||||
$NEODEVICE$IMAGEKATALOG/$TARGET/etc/init.d/dreambox-squashfs-support start > /dev/null 2>&1
|
||||
$NEODEVICE$IMAGEKATALOG/$TARGET/etc/init.d/udev start > /dev/null 2>&1
|
||||
$NEODEVICE$IMAGEKATALOG/$TARGET/etc/init.d/.mmodprobe start > /dev/null 2>&1
|
||||
$NEODEVICE$IMAGEKATALOG/$TARGET/etc/init.d/alsa-state
|
||||
|
||||
rm $NEODEVICE$IMAGEKATALOG/$TARGET$NEODEVICE > /dev/null 2>&1
|
||||
mkdir $NEODEVICE$IMAGEKATALOG/$TARGET$NEODEVICE > /dev/null 2>&1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user