Talk:Adding flash support
How can you (script) extract the rootfs.tgz from the verizondoctor.jar? If you could add this to below, users can just run this script.
- !/bin/sh
func_list() { cat>$list_text<<EOF etc/adobe/ mms.cfg etc/adobe/ oem.cfg usr/lib/BrowserServerPlugins/ libflashplayer.so usr/lib/BrowserServerPlugins/resource/ plugin-icon-noplay.png usr/lib/BrowserServerPlugins/resource/ plugin-icon-play-down.png usr/lib/BrowserServerPlugins/resource/ plugin-icon-play.png usr/lib/BrowserServerPlugins/resource/ plugin-icon-unknown.png usr/lib/BrowserServerPlugins/resource/ plugin-scrim.png usr/lib/ libFlashGraphics.so usr/lib/BrowserServerPlugins/FlashMiniAdapterData/ plugin-icon-noplay.png usr/lib/BrowserServerPlugins/FlashMiniAdapterData/ plugin-icon-play.png usr/lib/BrowserServerPlugins/FlashMiniAdapterData/ plugin-icon-unknown.png usr/lib/BrowserServerPlugins/FlashMiniAdapterData/ plugin-scrim.png usr/lib/BrowserServerPlugins/ FlashMiniPlugin.so EOF }
- oc80z
local list_text="list.txt" local list_fldr="files" #do not modify func_list mkdir $list_fldr >&- 2>&- for x in $(cat $list_text) ; do touch dirs.sh copy.sh ; chmod +x *.sh echo $(awk '{print "mkdir -p","files/"$1,";"}' "$list_text") > dirs.sh echo $(awk '{print "cp",$1$2,"files/"$1,";"}' "$list_text") > copy.sh done ./dirs.sh ./copy.sh echo "Copied $(wc -l "$list_text" | awk '{print $1}') files to `pwd`/"$list_fldr" \ ($(du -sh "$list_fldr" | sed -e "s/$list_fldr/total/" | awk '{print $1,$2}'))"