"Monitor-edid" and "ddcprobe" in "Quirky - 1.40" ! script

Miscellaneous tools
Post Reply
Message
Author
postfs1

"Monitor-edid" and "ddcprobe" in "Quirky - 1.40" ! script

#1 Post by postfs1 »

:arrow:
Install_Monitor-edid--sr0.sh

Code: Select all

#!/bin/bash
#
#"monitor-edid" w/o additional options can show the name of DISPLAY.
#"ddcprobe" w/o additional options can give info about VIDEOCARD.
#
cd /room ;
#
#
rm /usr/bin/perlthanks /usr/bin/perlivp /usr/bin/perldoc ;
rm /usr/bin/perlbug /usr/bin/perl5.10.1 /usr/bin/perl ;
rm -r /usr/lib/perl5 ;
#
curl -C - -O file:///mnt/sr0/_Files/Monitor-edid/Fedora-11_files/perl-5.10.0-82.fc11.i586.rpm ;
if [ ! `echo -e "175f93681b9bd4a69e7ee1d082f37b92  perl-5.10.0-82.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i perl-5.10.0-82.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/perl-5.10.0-82.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#1
curl -C - -O file:///mnt/sr0/_Files/Monitor-edid/Fedora-11_files/perl-libs-5.10.0-82.fc11.i586.rpm ;
if [ ! `echo -e "1ac4c25aeea0c6793066147db5e06a04  perl-libs-5.10.0-82.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i perl-libs-5.10.0-82.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/perl-libs-5.10.0-82.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#2
curl -C - -O file:///mnt/sr0/_Files/Monitor-edid/Fedora-11_files/monitor-edid-2.4-1.fc11.i586.rpm ;
if [ ! `echo -e "8e2d59ac264a7678ace107bdbcf4a50c  monitor-edid-2.4-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i monitor-edid-2.4-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/monitor-edid-2.4-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#3
curl -C - -O file:///mnt/sr0/_Files/Monitor-edid/Fedora-11_files/lrmi-0.10-6.fc11.i586.rpm ;
if [ ! `echo -e "1982bec114570f74bc4263a903a56320  lrmi-0.10-6.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i lrmi-0.10-6.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/lrmi-0.10-6.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#4
#
xmessage "-=Monitor-edid-2.4-1=- has been installed."

Edit: 2012, jan 26.
A script's content can be copied into text editor by means of <Quote> mode.

Post Reply