Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 1692

One proc file for detecting the MACHINE in all enigma2 images.

$
0
0

Hello everyone,

 

We store MACHINE name in "/etc/openvision/model" (Open Vision images) so we could use it in shell and other places which we can't use getBoxType, do you keep machine names somewhere in PLi?

 

I can provide a kernel module to create

 

/proc/stb/info/enigma2model

 

for example to store the MACHINE name from OE, if you're agree with this we could use it instead of

 

/proc/stb/info/hwmodel
/proc/stb/info/gbmodel
/proc/stb/info/boxtype
/proc/stb/info/vumodel
/proc/stb/info/azmodel

 

to check one proc file globally for all in all places, even reduce checks in enigma2 itself.

 

The reason behind this is https://github.com/OpenPLi/openpli-oe-core/pull/841 which made BackupSuite not compatible with PLi as we're using full machine names like "vuduo" instead of "duo" in the new "lookuptable.txt"

 

https://github.com/OpenVisionE2/BackupSuite/blob/master/plugin/backupsuite.sh#L214 returns "duo" for you so the new "lookuptable.txt" won't understand it.

 

Regards,

Persian Prince


Viewing all articles
Browse latest Browse all 1692

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>