Jump to content


Photo

Assign script to menu option


  • Please log in to reply
2 replies to this topic

#1 jellyfish

  • Member
  • 24 posts

0
Neutral

Posted 11 February 2011 - 15:55

I have written a script but how do I go about assigning the script to a menu option - thus the script can be executed directly from the box (as at the moment I telnet to the box and manually run the script)

Re: Assign script to menu option #2 littlesat

  • PLi® Core member
  • 56,282 posts

+691
Excellent

Posted 11 February 2011 - 17:28

Try our ppanel...

Re: Assign script to menu option #3 jellyfish

  • Member
  • 24 posts

0
Neutral

Posted 20 February 2011 - 19:39

I have tried to integrate the script thru ppanel - but it fails - It hangs when it is executing.

I have executed script via telnet and it runs perfectly

Here is a copy of my ppanel.xml

<directory name="PLI Jade Image">
<execute name="Refresh Channel List"
helptext="Download Latest Channel List"
target="/var/bin/channelrefresh.sh"
confirmation = "true"/>
</directory>


Is the above correct


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users