@ -261,10 +261,16 @@ if [ "${STOP_FRAMEWORK}" == "no" -a "${INIT_TYPE}" == "upstart" ] ; then
#lipc-set-prop com.lab126.pillow disableEnablePillow enable
#lipc-set-prop com.lab126.pillow disableEnablePillow enable
logmsg "Restoring the status bar . . ."
logmsg "Restoring the status bar . . ."
lipc-set-prop com.lab126.pillow interrogatePillow '{"pillowId": "default_status_bar", "function": "nativeBridge.showMe();"}'
lipc-set-prop com.lab126.pillow interrogatePillow '{"pillowId": "default_status_bar", "function": "nativeBridge.showMe();"}'
# And now we want to poke something to refresh the UI...
if [ " $( printf "%.3s" $( grep '^Kindle 5' /etc/prettyversion.txt 2>& 1 | sed -n -r 's/^(Kindle)([[:blank:]]*)([[:digit:].]*)(.*?)$/\3/p' | tr -d '.' ) ) " -ge "565" ] ; then
# FIXME: The old search_bar method doesn't seem to work anymore since FW 5.6.5... Get at least the homescreen back. We're still missing the men :/.
lipc-set-prop com.lab126.appmgrd start app://com.lab126.booklet.home
else
# Poke the search bar too, so that we get a proper refresh ;)
# Poke the search bar too, so that we get a proper refresh ;)
lipc-set-prop com.lab126.pillow interrogatePillow '{"pillowId": "search_bar", "function": "nativeBridge.hideMe(); nativeBridge.showMe();"}'
lipc-set-prop com.lab126.pillow interrogatePillow '{"pillowId": "search_bar", "function": "nativeBridge.hideMe(); nativeBridge.showMe();"}'
fi
fi
fi
fi
fi
if [ " ${ INIT_TYPE } " = = "upstart" -o " $( uname -r) " = = "2.6.31-rt11-lab126" ] ; then
if [ " ${ INIT_TYPE } " = = "upstart" -o " $( uname -r) " = = "2.6.31-rt11-lab126" ] ; then
logmsg "Restoring IPTables rules . . ."
logmsg "Restoring IPTables rules . . ."