mirror of
https://mojerepo.cf/NeoBoot/NeoBoot-9.git
synced 2025-10-27 00:16:12 +01:00
old
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
#!/bin/sh
|
||||
# script gutosie
|
||||
IMAGEKATALOG=ImageBoot
|
||||
NEODEVICE=$( cat /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/.location)
|
||||
|
||||
if [ ! -e /usr/bin/ipkg ]; then
|
||||
ln -sfn /usr/bin/opkg /usr/bin/ipkg ;
|
||||
fi
|
||||
if [ ! -e /usr/bin/ipkg-cl ]; then
|
||||
ln -sfn /usr/bin/opkg-cl /usr/bin/ipkg-cl;
|
||||
fi
|
||||
|
||||
#echo "Start network and telnet ..."
|
||||
if [ -e /usr/bin/curl ]; then
|
||||
cd /tmp; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/NeoBoot8/master/ver.txt;
|
||||
cd /
|
||||
else
|
||||
opkg install --force-overwrite --force-reinstall curl;
|
||||
cd /tmp;
|
||||
curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/NeoBoot8/master/ver.txt;
|
||||
cd /
|
||||
fi
|
||||
|
||||
if [ ! -f /tmp/ver.txt ] ; then
|
||||
/etc/init.d/networking stop; sync; /etc/init.d/networking start;
|
||||
fi
|
||||
|
||||
if [ -f /etc/init.d/inadyn-mt ] ; then
|
||||
/etc/init.d/inadyn-mt start;
|
||||
fi
|
||||
|
||||
|
||||
if [ -e /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh ]; then
|
||||
/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh;
|
||||
fi
|
||||
|
||||
if [ -e /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/NeoBoot_CAM.tar.gz ] ; then
|
||||
rm -r /tmp/*.tar.gz; mv /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/NeoBoot_CAM.tar.gz /tmp ;
|
||||
/bin/tar -xzvf /tmp/*.tar.gz -C /;
|
||||
rm -fr /tmp/*.tar.gz;
|
||||
ln -s /usr/lib/libcrypto.so.1.0.2 /usr/lib/libcrypto.so.1.0.0;
|
||||
opkg install install libssl1.0.0;
|
||||
/etc/init.d/softcam start
|
||||
fi
|
||||
|
||||
if [ -f /etc/rcS.d/S50fat.sh ] ; then
|
||||
ln -s /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/S50fat.sh /etc/rcS.d/S50neo.sh
|
||||
telnetd on
|
||||
echo ok
|
||||
rm -f /etc/rcS.d/S50fat.sh
|
||||
echo "file S50fat.sh delete"
|
||||
fi
|
||||
echo ok
|
||||
Reference in New Issue
Block a user