Update neoinitarmvu

This commit is contained in:
gutosie
2022-12-06 12:26:15 +02:00
committed by GitHub
parent e65b6c44d2
commit ac34beda98

View File

@@ -309,6 +309,10 @@ else
echo " start file - init.sysvinit" >> $neoLOG
exec /usr/sbin/chroot `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/$TARGET /sbin/init
echo "====================================================> "
elif [ -f `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/$TARGET/lib/systemd/systemd ]; then
echo " start file - systemd" >> $neoLOG
exec /usr/sbin/chroot `cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location`$IMAGEKATALOG/$TARGET /lib/systemd/systemd
echo "====================================================> "
else
echo " NEOBOOT - ERROR !!! "
echo "Not found correctly unpacked image "$TARGET" z partycji " $DEVICE