Thread: PRS-500 lbhook.sh support patch
View Single Post
Old 10-21-2006, 08:51 AM   #1
igorsk
Wizard
igorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfoldedigorsk reads XML... blindfolded
 
Posts: 3,443
Karma: 52235
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
lbhook.sh support patch

igorsk 1 - cramfs 0
Read the provided readme.txt for instructions.
Here's a sample script:
Code:
#! /bin/bash

PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/sony/bin:/usr/sbin"
LD_LIBRARY_PATH="/opt/sony/ebook/application:/lib:/usr/lib:/usr/local/sony/lib:/opt/sony/ebook/lib"
export PATH LD_LIBRARY_PATH

pstree -a -c -l >/tmp/pstree.log &
and its output (retrieved with "ebook.py get /tmp/pstree.log"):
Code:
init) 
  |-getty) console 
  |-(jffs2_gcd_mtd15)
  |-(jffs2_gcd_mtd16)
  |-(keventd)
  |-lbhook.sh) /tmp/lbhook.sh 
  |   `-pstree) -a -c -l 
  |-(msbdrv_thread)
  |-(mtdblockd)
  |-(sdbdrv_thread)
  `-tinyhttp.sh) /opt/sony/ebook/bin/tinyhttp.sh 
      `-tinyhttp)
Attached Files
File Type: zip PRSPatch-0.1.zip (78.3 KB, 1569 views)
igorsk is offline   Reply With Quote