Update dminit

This commit is contained in:
gutosie
2022-02-24 16:56:17 +02:00
committed by GitHub
parent 830ef60417
commit bcda55c8db

View File

@@ -65,7 +65,8 @@ $MODPROBE /sbin/modprobe --force lcd > /dev/null 2>&1
fi;
done;
cat /proc/stb/avs/0/colorformat > /proc/stb/avs/0/colorformat
[ -e /etc/dropbear/dropbear_rsa_host_key ] && /usr/bin/showiframe /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/neowait.mvi
if [ -f $LIBDIR/kernel/fs/autofs4/autofs4.ko ]; then
/sbin/insmod $LIBDIR/kernel/fs/autofs4/autofs4.ko > /dev/null 2>&1
fi
@@ -227,24 +228,28 @@ $MODPROBE /sbin/modprobe --force lcd > /dev/null 2>&1
else
/usr/bin/showiframe $NEODEVICE$IMAGEKATALOG/$TARGET/usr/share/bootlogo.mvi
fi
sleep 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/etc/init.d/dreambox-squashfs-support start > /dev/null 2>&1
$NEODEVICE$IMAGEKATALOG/$TARGET/squashfs-images/dreambox-dvb-modules-sqsh-img
$NEODEVICE$IMAGEKATALOG/$TARGET/etc/init.d/.mmodprobe start > /dev/null 2>&1
$NEODEVICE$IMAGEKATALOG/$TARGET/etc/init.d/udev start > /dev/null 2>&1
$NEODEVICE$IMAGEKATALOG/$TARGET/etc/init.d/alsa-state
ln -sf /media/hdd/squashfs-images /media/squashfs-images
$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
if [ ! -e $NEODEVICE$IMAGEKATALOG/$TARGET/.control_ok]; then
rm -r $NEODEVICE$IMAGEKATALOG/$TARGET/etc/enigma2
fi
fi
rm $NEODEVICE$IMAGEKATALOG/$TARGET$NEODEVICE > /dev/null 2>&1
mkdir $NEODEVICE$IMAGEKATALOG/$TARGET$NEODEVICE > /dev/null 2>&1
rm -f $NEODEVICE$IMAGEKATALOG/$TARGET/usr/bin/enigma2_pre_start.sh
orgimag=`mount | sed '/sd/!d' | cut -d" " -f1`
@@ -296,6 +301,8 @@ $MODPROBE /sbin/modprobe --force lcd > /dev/null 2>&1
fi
fi
# boot Flash
# boot Flash
UNIONFS=0
if [ -f /lib/modules/`uname -r`/kernel/fs/unionfs.ko ]; then