Title: I start to write scripts in bash. Nothing works. Post by: Negor on November 01, 2008, 03:35:55 pm I've read some howto's and want to write sowe script on bash. And preferably that run in phone. Try to run script
Quote #!/ezxlocal/download/mystuff/ns/bash But nothing happen. If i use telnet it's work. I olso try to run another script which develop for E2 but it not work from phone too. If i run it from telnet in the console says "showRadio:: command not found". Could somebodyexplain me how to create menus that can work from phone, if it possibleOPTIONS="Hello Quit" select opt in $OPTIONS; do if [ "$opt" = "Quit" ]; then echo done exit elif [ "$opt" = "Hello" ]; then echo Hello World else clear echo bad option fi done Title: Re: I start to write scripts in bash. Nothing works. Post by: keaglez on November 01, 2008, 04:24:30 pm I've read some howto's and want to write sowe script on bash. And preferably that run in phone. Try to run script I donno if i can help, but probably....Quote #!/ezxlocal/download/mystuff/ns/bash But nothing happen. If i use telnet it's work. I olso try to run another script which develop for E2 but it not work from phone too. If i run it from telnet in the console says "showRadio:: command not found". Could somebodyexplain me how to create menus that can work from phone, if it possibleOPTIONS="Hello Quit" select opt in $OPTIONS; do if [ "$opt" = "Quit" ]; then echo done exit elif [ "$opt" = "Hello" ]; then echo Hello World else clear echo bad option fi done You need to get show* binaries to your phone first, visit arctu website www.aktaeon.com... You can use showList to show menu list (it can be a subtitute for showRadio if you want to port E2 script) Maybe a simple script like this will work: Code: #!/ezxlocal/download/mystuff/ns/bash hope it helps :) Title: Re: I start to write scripts in bash. Nothing works. Post by: Negor on November 01, 2008, 04:35:48 pm Nope... your example not run from phone... I have show binaries module, but how it can help me?
Title: Re: I start to write scripts in bash. Nothing works. Post by: keaglez on November 01, 2008, 04:53:59 pm and the error? :) show binaries is responsible to show GUI in your phone...
Title: Re: I start to write scripts in bash. Nothing works. Post by: Negor on November 01, 2008, 05:20:10 pm Cool))) It's alive) Ok, now i go to sleep but tomorow i continue to write scripts)
Title: Re: I start to write scripts in bash. Nothing works. Post by: Exploited on November 01, 2008, 11:42:54 pm I hope you will share them :P
|