View Single Post
Old 03-24-2013, 10:35 PM   #9
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299993
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Code case statement refuses to run the apps...

PHP Code:
SETPROP=/usr/bin/lipc-set-prop

# Whitespace == :Space:Tab:Line Feed:Carriage Return:
readonly WSP_IFS=`printf "\x20\x09\x0A\x0D"`
# No Whitespace == :Line Feed:Carriage Return:
readonly NO_WSP=`printf "\x0A\x0D"`
# Whitespace == :Space:Tab:
readonly WSP=`printf "\x20\x09"`

IFS=${NO_WSP}

# Now however you write a read command block:
read C
case $C in
  
'HOME' "$SETPROP com.lab126.appmgrd start app://com.lab126.booklet.home" ;;
  
'SCREEN SAVER' "$SETPROP com.lab126.appmgrd start app://com.lab126.booklet.settings?diagnosticMode=\;411" ;;
  * ) : 
# no-op ;
esac 


I have no idea why that doesn't work.

I'll sleep on it.

Happily will take advice...

It DOES match the case... then nothing happens?

Sigh

Last edited by twobob; 03-24-2013 at 10:37 PM.
twobob is offline   Reply With Quote