Jump to content


Photo

Need help


  • Please log in to reply
4 replies to this topic

#1 shsh

  • Member
  • 4 posts

0
Neutral

Posted 1 May 2017 - 20:55

Sorry no help

Need to be able to start script from PP panel

ex
this is one of my scripts
===============================
#!/bin/sh
#DESCRIPTION=This script will delete all crash-logs from /media/hdd
rm -rf /media/hdd/enigma2_crash*
echo ""
exit 0

===============================

Used LT before no problems to start script by gui
whit LTQuickMenu

<entry name="Delete_all_Crashlogs" description="This script will delete all crash-logs from /media/hdd" type="script" script="/media/usb/script/Delete_all_Crashlogs.sh" showtype="shown" extensionsmenu="no" />


Any hint whit line in xml ?

Edited by Frenske, 1 May 2017 - 21:06.
Please do not hijack other members topic with a completely different question and even in a different language.


Re: Need help #2 WanWizard

  • PLi® Core member
  • 69,793 posts

+1,780
Excellent

Posted 1 May 2017 - 21:05

No need to post the same question twice, you won't get an answer quicker.


Edited by WanWizard, 1 May 2017 - 22:04.
sorry, didn't notice it was being moved by another moderator ;)

Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Need help #3 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 2 May 2017 - 14:37

Create /etc/enigma2/ppanels/deletecrashlogs.xml :

<directory name="All kinds of scripts">
      <execute name="Delete crash logs"
               target="rm -rf /media/hdd/enigma2_crash*"
               helptext="Delete all crash logs"/>
</directory>

Press blue, choose PPanels, etc.
See also: http://wiki.openpli.org/PPanel


Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: Need help #4 littlesat

  • PLi® Core member
  • 56,905 posts

+695
Excellent

Posted 2 May 2017 - 14:43

You can delete crashlogs all or per via the troubleshoot screen (menu information box yellow left right ). No ppanel or any other work a round required

Edited by littlesat, 2 May 2017 - 14:47.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Need help #5 WanWizard

  • PLi® Core member
  • 69,793 posts

+1,780
Excellent

Posted 2 May 2017 - 14:51

I think it was meant as an example...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users