From: Sart C. <sar...@ya...> - 2010-07-02 05:30:10
|
Hi Jamie, WOW !! "/That's what I meant/." and it works great Thanks for your fine work Sart On 2010-06-30 13:58, Jamie Cameron wrote: > So do you mean you want the menu options to be generated by a script? > This is actually already possible .. instead of entering a filename as > the source of menu items, you can enter a command with a | at the end. > The command needs to output text in the same format as the menu file.. > > - Jamie > > On 30/Jun/2010 10:45 Sart Cole<sar...@ya...> wrote .. > >> Hi Jamie, >> >> No problem, I was just wandering.... >> >> A "webmin custom menu" could execute a script-1.sh that would set "Type menu items" >> >> that would be use by another "webmin custom menu" that would execute another scrip-2.sh >> >> Don't be sorry... as it is... for me "webmin custom menu" is the "hidden jewel" >> of Webmin and Usermin. >> >> Thanks >> >> Sart >> >> >> >> >> >> ----- Original Message ---- >> From: Jamie Cameron<jca...@we...> >> To: Webmin users list<web...@li...> >> Sent: Tue, June 29, 2010 2:48:18 PM >> Subject: Re: [webmin-l] Custom command calling a other custom command >> >> Currently there's no way to do this, sorry .. >> >> On 29/Jun/2010 05:37 Sart Cole<sar...@ya...> wrote .. >> >>> Thanks for your reply, but >>> >>> what I realy whant is that after the script ends it would come back to webmin >>> >>> and show another webmin custom command MENU not execute another scrip.sh >>> >>> Greatings >>> >>> Sart >>> >>> >>> >>> ----- Original Message ---- >>> From: Steve Holdoway<st...@gr...> >>> To: Webmin users list<web...@li...> >>> Sent: Mon, June 28, 2010 6:14:25 PM >>> Subject: Re: [webmin-l] Custom command calling a other custom command >>> >>> On Mon, 2010-06-28 at 18:06 -0400, Sart Cole wrote: >>> >>>> Hi, >>>> >>>> Can (or could ) a custom command execute a bash script and after completion >>>> >>>> Webmin would Pop Up a other custom command. >>>> >>>> Greatings >>>> >>>> Sart >>>> >>>> ------------------------------------------------------------------------------ >>>> This SF.net email is sponsored by Sprint >>>> What will you do first with EVO, the first 4G phone? >>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>>> - >>>> Forwarded by the Webmin mailing list at web...@li... >>>> To remove yourself from this list, go to >>>> http://lists.sourceforge.net/lists/listinfo/webadmin-list >>>> >>> Use the usual >>> >>> && script.sh >>> >>> chaining to call another script on success? >>> >>> -- >>> Steve Holdoway<st...@gr...> >>> http://www.greengecko.co.nz >>> MSN: st...@gr... >>> Skype: sholdowa >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> This SF.net email is sponsored by Sprint >>> What will you do first with EVO, the first 4G phone? >>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >>> - >>> Forwarded by the Webmin mailing list at web...@li... >>> To remove yourself from this list, go to >>> http://lists.sourceforge.net/lists/listinfo/webadmin-list >>> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> - >> Forwarded by the Webmin mailing list at web...@li... >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> - >> Forwarded by the Webmin mailing list at web...@li... >> To remove yourself from this list, go to >> http://lists.sourceforge.net/lists/listinfo/webadmin-list >> > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > |