View Single Post
Old 07-10-2013, 03:57 AM   #141
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by giorgio130 View Post
You can leave out the part regarding usbnet, maybe it is not compatible with touch. Edit /mnt/onboard/.kobo/KoboLauncher/KoboLauncher.sh and put in it:
Code:
#!/bin/sh
/mnt/onboard/.kobo/koreader/koreader_kobo.sh /mnt/onboard
However there's always the issue of windows vs unix line endings, you should use a text editor that can put the proper character at the end of each line.
A Hex Editor should show both the Hex and the Ascii , just change the "0D" to "0A". It should be ok to have two "0A"s instead of "0D 0A".

Just open the .sh file in a Hex editor and make the changes, there shouldn't be that many.

Giorgio;

When you guys tell us to put some new code into an existing .sh Bash Script you often include the #!/bin/sh but I thought only the first one counts? There is one already at the beginning of the file. Also, are we supposed to remove or comment out the old code. Maybe you guys mean that with the bash at the beginning of your additions that it is to be inserted at the beginning and the rest of the .sh left as it is?

Dumb questions I know.

Luck;
Ken
Ken Maltby is offline   Reply With Quote