←  [EN] Third-Party Development

Forums

»

Assign script to menu option

jellyfish's Photo jellyfish 11 Feb 2011

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)
Quote

littlesat's Photo littlesat 11 Feb 2011

Try our ppanel...
Quote

jellyfish's Photo jellyfish 20 Feb 2011

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
Quote