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