View Single Post
Old 11-15-2012, 10:29 PM   #162
koboaya
Member
koboaya is kind to children and small, furry animalskoboaya is kind to children and small, furry animalskoboaya is kind to children and small, furry animalskoboaya is kind to children and small, furry animalskoboaya is kind to children and small, furry animalskoboaya is kind to children and small, furry animalskoboaya is kind to children and small, furry animalskoboaya is kind to children and small, furry animalskoboaya is kind to children and small, furry animalskoboaya is kind to children and small, furry animalskoboaya is kind to children and small, furry animals
 
Posts: 23
Karma: 6748
Join Date: Nov 2012
Location: Japan
Device: Kobo Touch,Kobo Glo
Quote:
Originally Posted by ikarus9999 View Post
All custom strings in the 'ini' file are not translated as I don't know what the user enters in there.

About the 'executeSystemCmd': Yes, can run a shell script using this command. Your example should work.
Thanks for the reply.

I rewrote the koboplugin.ini.

Reboot=Plugin::executeSystemCmd("/bin/busybox reboot")

再起動=Plugin::executeSystemCmd("/bin/busybox reboot")

Character of "再起動", but did not display correctly.


In addition, I have placed the script attached to the mnt / onboard / ext.
(Have to install sqlite3 in /bin)

I have successfully run the script directly in connection with Telnet.

Description of the INI file:
"DataPatch=Plugin::executeSystemCmd("mnt/onboard/ext/test.sh")"

But I failed.
What do you understand the problem?
Attached Files
File Type: zip test.zip (336 Bytes, 66 views)
koboaya is offline   Reply With Quote