Hallo,
im Anhng patch, orig und gepachte script (in gekürtzte version)
Alles anzeigen
lg
im Anhng patch, orig und gepachte script (in gekürtzte version)
Unterschiede-Datei
- --- enigma2_pre_start.sh.orig 2016-12-27 20:51:09.738163848 +0100
- +++ enigma2_pre_start.sh 2016-12-27 20:54:11.268327385 +0100
- @@ -1,19 +1,17 @@
- #!/bin/sh
- -if [ -f /usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkBrowser/netscan.so ]; then
- rm -f /usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkBrowser/netscan.so
- -fi
- echo "Checking architecture"
- -export boxtype=`grep "getMachineName =" /etc/enigma2/boxinformations`
- +export boxtype=`uname -m`
- echo $boxtype
- -if [ "$boxtype" == "getMachineName = SF4008" ] || [ "$boxtype" == "getMachineName = HD51" ] || [ "$boxtype" == "getMachineName = MUTANT51" ] || [ "$boxtype" == "getMachineName = AX51" ] || [ "$boxtype" == "getMachineName = HD52" ]; then
- - echo "ARM found"
- - cp /usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkBrowser/netscan/netscan.so.arm /usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkBrowser/netscan.so
- -else
- +if [ "$boxtype" == "mips" ]; then
- echo "Mips32el found"
- cp /usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkBrowser/netscan/netscan.so.mips /usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkBrowser/netscan.so
- +else
- + echo "ARM found"
- + cp /usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkBrowser/netscan/netscan.so.arm /usr/lib/enigma2/python/Plugins/SystemPlugins/NetworkBrowser/netscan.so
- fi
- exit 0
lg
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'