Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dcore:flash10_creation_script [2016/06/01 20:57] – created nitram | dcore:flash10_creation_script [2016/06/14 13:50] (current) – nitram | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== dCore Flash 10 SCE Creation Script ===== | ===== dCore Flash 10 SCE Creation Script ===== | ||
- | Flash 10 SCE creation script | + | This Flash 10 SCE creation script |
- | As mentioned during the script | + | Though never having personally experienced any issues running Flash 10 for several years, use at own risk. Flash is proprietary and security issues are well documented. Only run Flash as a last resort, numerous alternatives available: |
+ | *SMPlayer streams URLs with better performance on old hardware, works on youtube.com and many other sites. | ||
+ | *youtube-dl is excellent for downloading videos from many sites, play locally with a media player. | ||
+ | *Firefox add-ons are available to download videos from sites if not fond of youtube-dl. | ||
+ | *Many websites now use html5, | ||
- | last tested | + | If Flash 10 is utilized recommend: |
+ | *Firefox -> Addons -> Ask to Activate instead of ' | ||
+ | *Use NoScript or a Flash block add-on during majority of browsing. | ||
+ | |||
+ | The script was created for practice and worked well, last test May 2016 on dCore-jessie running Iceweasel. | ||
+ | |||
+ | Even though I (nitram) no longer use Flash, rather than delete sharing the script with others :) | ||
< | < | ||
- | test | + | #!/bb/ash |
+ | # nitram was here - january 2016 | ||
+ | |||
+ | . / | ||
+ | |||
+ | TCEDIR=`readlink / | ||
+ | SCEDIR=" | ||
+ | SCEBOOTLST="" | ||
+ | |||
+ | checknotroot | ||
+ | |||
+ | clear | ||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | echo " | ||
+ | echo " | ||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | |||
+ | # SSE2 check | ||
+ | if [ $(cat / | ||
+ | echo " | ||
+ | echo | ||
+ | echo " | ||
+ | else | ||
+ | echo " | ||
+ | fi | ||
+ | |||
+ | echo | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo | ||
+ | |||
+ | # Confirmation | ||
+ | echo -n "Enter (y)es to install flash10.sce or (q)uit: " | ||
+ | read TARGET | ||
+ | echo | ||
+ | |||
+ | # Download and extract Flash, create SCE | ||
+ | if [ " | ||
+ | cd /tmp | ||
+ | rm -rf / | ||
+ | rm -rf / | ||
+ | echo " | ||
+ | echo | ||
+ | wget -c -nv --show-progress http:// | ||
+ | echo | ||
+ | echo " | ||
+ | sleep 3 | ||
+ | echo | ||
+ | busybox unzip -q fp_10.3.183.90_archive.zip | ||
+ | cd / | ||
+ | tar xvf flashplayer_10_3r183_90_linux.tar.gz | ||
+ | cd /tmp | ||
+ | mkdir -p / | ||
+ | mkdir -p / | ||
+ | cp / | ||
+ | cd / | ||
+ | ln -s / | ||
+ | cd /tmp | ||
+ | sudo chown root:root / | ||
+ | mksquashfs / | ||
+ | cp -f / | ||
+ | cd $SCEDIR | ||
+ | md5sum flash10.sce > flash10.sce.md5.txt | ||
+ | |||
+ | # Clean up | ||
+ | rm -rf / | ||
+ | rm -rf / | ||
+ | sudo rm -rf / | ||
+ | rm / | ||
+ | |||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | |||
+ | # Boot list query | ||
+ | echo -n "Add flash10.sce to sceboot.lst, | ||
+ | read TARGET | ||
+ | echo | ||
+ | if [ $TARGET = Y ] || [ $TARGET = y ]; then | ||
+ | echo -e " | ||
+ | sed '/ | ||
+ | mv / | ||
+ | echo " | ||
+ | echo | ||
+ | fi | ||
+ | |||
+ | echo " | ||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | echo " | ||
+ | echo " | ||
+ | echo " | ||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | echo " | ||
+ | echo | ||
+ | |||
+ | fi | ||
</ | </ | ||
+ | |||
+ | **[[http:// | ||
+ |