Admin Admin


عدد الرسائل: 487 السٌّمعَة: 0 تاريخ التسجيل: 22/01/2009
بطاقة الشخصية النقاط:
   (10/10)
 | موضوع: ◄ حصريا تشغيل والتحكم ومراقبة اسطر mbox بواسطة vdr على ubuntu + مفاجاة ► الخميس يونيو 03, 2010 9:30 am | |
| Peer info في vdr ستجد امام اسطرك التي في ملف cwshare كل من 0 و 10 = اوفلاين 1 = اونلاين عند الدخول الى Whose card?سنعرف السطر الدي يشغل القناة لتوقيف الايمبوكس نضغط على Mbox stop ولاعادة تشغيله نضغط على Mbox restart [/size] [size=9] [/size]الان ننتقل الى طريقة توقيف الحاسب من خلال vdr ندهب الى هدا المسار/etc/vdr/pluginsونفتح --SS-- menuorg.xmlونضيف هدا الكودexecute="sudo shutdown -h now" /> execute="/etc/init.d/vdr stop" /> في اخر السكريبت على هدا الشكل[center]كود : xml version="1.0" encoding="UTF-8" ?> - < menus > < system name ="Channels " />
< system name ="Schedule " />
< system name ="Timers " />
< system name ="Recordings " />
< plugin name ="femon " title ="signal " />
< system name ="Setup " />
< plugin name ="YaepgHD " />
- < menu name ="CCcam Info " > < command name ="EMC info " execute ="cat /tmp/ecm0.info " />
< command name ="CCcam smartcard info " execute ="echo entitlements | nc localhost 16000 " />
< command name ="CCcam provider info " execute ="echo providers | nc localhost 16000 " />
< command name ="CCcam online servers " execute ="echo servers | nc localhost 16000 " />
< command name ="CCcam online shares " execute ="echo shares | nc localhost 16000 " />
< command name ="CCcam active clients " execute ="echo activeclients | nc localhost 16000 " />
< command name ="CCcam online clients " execute ="echo clients | nc localhost 16000 " />
< command name ="RESTART CCcam " execute ="/etc/init.d/cccam restart " />
< command name ="STOP CCcam " execute ="/etc/init.d/cccam stop " />
< command name ="START CCcam " execute ="/etc/init.d/cccam start " />
< command name ="Whose card? " execute ="cat /tmp/ecm0.info|grep address: " />
< command name ="CCcam info " execute ="echo info | nc localhost 16000 " />
< command name ="CCcam config " execute ="cat /var/etc/CCcam.cfg " />
menu >
- < menu name ="Mbox Info " > < command name ="Mbox version " execute ="cat /tmp/mbox.ver " />
< command name ="ECM info " execute ="cat /tmp/pid8.info " />
< command name ="Peer info " execute ="cat /tmp/share.onl " />
< command name ="Card info " execute ="cat /tmp/share.info " />
< command name ="Mbox stop " execute ="sudo /etc/init.d/mbox stop " />
< command name ="Mbox start " execute ="sudo /etc/init.d/mbox start " />
< command name ="Mbox restart " execute ="sudo /etc/init.d/mbox restart " />
< command name ="Whose card? " execute ="cat /tmp/ecm8.info " />
menu >
< command name ="shutdown " execute ="sudo shutdown -h now " />
< command name ="QUIT vdr " execute ="/etc/init.d/vdr stop " />
menus >
[/center]  الان عند الظغط على[/center] |
|