Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Aug 2014, 09:43
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Dbus, Avahi, Hal in "Quirky-1.4" ! only script
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Sat 19 Nov 2011, 14:38    Post subject:  Dbus, Avahi, Hal in "Quirky-1.4" ! only script
Subject description: These things are required sometimes.
 

It works somehow.

INSTALLATION --->

Quote:

Install--5_PART-1--DBus_Avahi_Hal.sh
Code:

#!/bin/bash
###
#maybe needful command: sleep 5s
#maybe needful command: ck-list-sessions
#maybe needful command: console-kit-daemon
#maybe needful command: polkit-read-auth-helper
#maybe needful command: polkit-action
#maybe needful command: dbus-monitor --system
#maybe needful command: dbus-monitor --session
#maybe needful command: console-kit-daemon
#maybe needful command: avahi-daemon -D
#maybe needful command: cat /var/lib/hal/acl-list
#maybe needful command: id username
#maybe needful command: lshal | grep -w 'DVD'
#maybe needful command: lshal | grep -A 16 'DVD'
###
#>>>>>
#resetdbus ()
#{
#    echo restarting dbus and dependent services;
#    haldaemon stop;
#    dbus stop;
#    dbus-cleanup-sockets /var/run/dbus/system_bus_socket;
#    dbus start;
#    hald start;
#}
#<<<<<
###################################
#
#SRC: https://wiki.archlinux.org/index.php/CD_Burning >>>>>
#stat /dev/sr0
chmod 777 /dev/dvd* ;
chmod 777 /dev/cd* ;
chmod 777 /dev/sr* ;
chmod 777 /dev/scd* ;
#addgroup -g 74 avahi ;
addgroup -g 74 avahi ;
adduser -g "Avahi daemon" -h /var/run/avahi-daemon -D -G avahi -s /bin/false -u 74 avahi ;
#useradd -c "Avahi daemon" -b /var/run/avahi-daemon -M -g avahi -s /bin/false -u 74 avahi ;
#addgroup -g 91 dbus ;
addgroup -g 91 dbus ;
adduser -g "DBUS daemon" -h /var/run/dbus -S -D -G dbus -s /bin/false -u 91 dbus ;
#useradd -c "DBUS daemon" -b /var/run/dbus -r -M -g dbus -s /bin/false -u 91 dbus ;
#addgroup -g 115 polkituser ;
addgroup -g 115 polkituser ;
adduser -g "PolicyKit" -h /var/run/PolicyKit -D -G polkituser -s /bin/false -u 115 polkituser ;
#useradd -c "PolicyKit" -b /var/run/PolicyKit -M -g polkituser -s /bin/false -u 115 polkituser ;
#
#
# ? addgroup root polkituser ;
#
# ? addgroup -g 1571 optical ;
# ? addgroup dbus optical ;
# ? addgroup haldaemon optical ;
# ? addgroup root optical ;
#
# ? addgroup -g 1471 plugdev ;
# ? addgroup dbus plugdev ;
# ? addgroup haldaemon plugdev ;
# ? addgroup root plugdev ;
#
# ? addgroup -g 19 cdrom ;
# ? addgroup dbus cdrom ;
# ? addgroup haldaemon cdrom ;
# ? addgroup root cdrom ;
#
# ? addgroup -g 18 cdrw ;
# ? addgroup dbus cdrw ;
# ? addgroup haldaemon cdrw ;
# ? addgroup root cdrw ;
#
#
# ? addgroup messagebus dbus ;
# ? addgroup messagebus haldaemon ;
# ? addgroup messagebus root ;
#
xmessage "PART - 1."


Edit: 2013, jan 25.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------

Quote:

Install--5_PART-2--DBus_Avahi_Hal.sh
Code:

#!/bin/bash
#
mkdir -p /room ;
cd /room ;
#
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'hal-libs-0.5.12-29.20090226git.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "hal-libs-0.5.12-29.20090226git.fc11.i586.rpm..rm" >/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/hal-libs-0.5.12-29.20090226git.fc11.i586.rpm ;
if [ ! `echo -e "55eeb73cdb589bed7e0843944d91afcd  hal-libs-0.5.12-29.20090226git.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 hal-libs-0.5.12-29.20090226git.fc11.i586.rpm ;
sleep 0.5s ;
echo "hal-libs-0.5.12-29.20090226git.fc11.i586.rpm..rm" >/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/hal-libs-0.5.12-29.20090226git.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#1
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'dbus-libs-1.2.12-2.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "dbus-libs-1.2.12-2.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/dbus-libs-1.2.12-2.fc11.i586.rpm ;
if [ ! `echo -e "b75b063e1c7d4e4b952e58f37b08c101  dbus-libs-1.2.12-2.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 dbus-libs-1.2.12-2.fc11.i586.rpm ;
sleep 0.5s ;
echo "dbus-libs-1.2.12-2.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/dbus-libs-1.2.12-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#2
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'dbus-qt-0.70-6.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "dbus-qt-0.70-6.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/dbus-qt-0.70-6.fc11.i586.rpm ;
if [ ! `echo -e "65468d7cc3c239a1dad10a30db395859  dbus-qt-0.70-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 dbus-qt-0.70-6.fc11.i586.rpm ;
sleep 0.5s ;
echo "dbus-qt-0.70-6.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/dbus-qt-0.70-6.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#3
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'hal-0.5.12-29.20090226git.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "hal-0.5.12-29.20090226git.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/hal-0.5.12-29.20090226git.fc11.i586.rpm ;
if [ ! `echo -e "b26f01665e92b93f434cb966e0b8a4d5  hal-0.5.12-29.20090226git.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 hal-0.5.12-29.20090226git.fc11.i586.rpm ;
sleep 0.5s ;
echo "hal-0.5.12-29.20090226git.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/hal-0.5.12-29.20090226git.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#4
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'PolicyKit-0.9-6.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "PolicyKit-0.9-6.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/PolicyKit-0.9-6.fc11.i586.rpm ;
if [ ! `echo -e "595f3b1f9e1cce279f44dad0b755ebc4  PolicyKit-0.9-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 PolicyKit-0.9-6.fc11.i586.rpm ;
sleep 0.5s ;
echo "PolicyKit-0.9-6.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/PolicyKit-0.9-6.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#5
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'avahi-0.6.25-3.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "avahi-0.6.25-3.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/avahi-0.6.25-3.fc11.i586.rpm ;
if [ ! `echo -e "2d71f8d1a11b3ce659958e2c6dba8e6a  avahi-0.6.25-3.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 avahi-0.6.25-3.fc11.i586.rpm ;
sleep 0.5s ;
echo "avahi-0.6.25-3.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/avahi-0.6.25-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#6
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'dbus-1.2.12-2.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "dbus-1.2.12-2.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/dbus-1.2.12-2.fc11.i586.rpm ;
if [ ! `echo -e "bc20bf16823e735034afe0a7fa96bd23  dbus-1.2.12-2.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 dbus-1.2.12-2.fc11.i586.rpm ;
sleep 0.5s ;
echo "dbus-1.2.12-2.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/dbus-1.2.12-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#7
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'dbus-glib-0.80-2.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "dbus-glib-0.80-2.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/dbus-glib-0.80-2.fc11.i586.rpm ;
if [ ! `echo -e "6ec24bf8efe6b238bae1241c7d531ba6  dbus-glib-0.80-2.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 dbus-glib-0.80-2.fc11.i586.rpm ;
sleep 0.5s ;
echo "dbus-glib-0.80-2.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/dbus-glib-0.80-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#8
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'dbus-x11-1.2.12-2.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "dbus-x11-1.2.12-2.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/dbus-x11-1.2.12-2.fc11.i586.rpm ;
if [ ! `echo -e "b700677a2c58a5695a146dad7ab02c07  dbus-x11-1.2.12-2.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 dbus-x11-1.2.12-2.fc11.i586.rpm ;
sleep 0.5s ;
echo "dbus-x11-1.2.12-2.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/dbus-x11-1.2.12-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#9
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
xmessage "PART - 2."


Edit: 2013, jan 25.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------

Quote:

Install--5_PART-3--DBus_Avahi_Hal.sh
Code:

#!/bin/bash
#
cd /room ;
#
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'libselinux-2.0.80-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "libselinux-2.0.80-1.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/libselinux-2.0.80-1.fc11.i586.rpm ;
if [ ! `echo -e "a33dd8be6e63530f3babeec2e3c03019  libselinux-2.0.80-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 libselinux-2.0.80-1.fc11.i586.rpm ;
sleep 0.5s ;
echo "libselinux-2.0.80-1.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/libselinux-2.0.80-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#10
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'audit-libs-1.7.17-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "audit-libs-1.7.17-1.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/audit-libs-1.7.17-1.fc11.i586.rpm ;
if [ ! `echo -e "4981e145ce0099d5e52d4a41ea8cdb57  audit-libs-1.7.17-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 audit-libs-1.7.17-1.fc11.i586.rpm ;
sleep 0.5s ;
echo "audit-libs-1.7.17-1.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/audit-libs-1.7.17-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#11
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'hal-info-20090414-1.fc11.noarch.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "hal-info-20090414-1.fc11.noarch.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/hal-info-20090414-1.fc11.noarch.rpm ;
if [ ! `echo -e "9a342677662134091609b9815ce4ea1b  hal-info-20090414-1.fc11.noarch.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 hal-info-20090414-1.fc11.noarch.rpm ;
sleep 0.5s ;
echo "hal-info-20090414-1.fc11.noarch.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/hal-info-20090414-1.fc11.noarch.rpm ;
rm /room/.md-5.sm ;
fi ;
#12
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'ConsoleKit-0.3.0-8.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "ConsoleKit-0.3.0-8.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/ConsoleKit-0.3.0-8.fc11.i586.rpm ;
if [ ! `echo -e "7dd01ab6046ef474734baa801d7c18ca  ConsoleKit-0.3.0-8.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 ConsoleKit-0.3.0-8.fc11.i586.rpm ;
sleep 0.5s ;
echo "ConsoleKit-0.3.0-8.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/ConsoleKit-0.3.0-8.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#13
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'ConsoleKit-libs-0.3.0-8.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "ConsoleKit-libs-0.3.0-8.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/ConsoleKit-libs-0.3.0-8.fc11.i586.rpm ;
if [ ! `echo -e "77a6e030b1c0dd7c8e5206ae79c470da  ConsoleKit-libs-0.3.0-8.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 ConsoleKit-libs-0.3.0-8.fc11.i586.rpm ;
sleep 0.5s ;
echo "ConsoleKit-libs-0.3.0-8.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/ConsoleKit-libs-0.3.0-8.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#14
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'acpid-1.0.8-4.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "acpid-1.0.8-4.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/acpid-1.0.8-4.fc11.i586.rpm ;
if [ ! `echo -e "62a3f8516f01e733c2275e656991c177  acpid-1.0.8-4.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 acpid-1.0.8-4.fc11.i586.rpm ;
sleep 0.5s ;
echo "acpid-1.0.8-4.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/acpid-1.0.8-4.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#15
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
xmessage "Part - 3."


Edit: 2013, jan 25.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------

Quote:

Install--5_PART-4--DBus_Avahi_Hal.sh
Code:

#!/bin/bash
#
cd /room ;
#
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm ;
if [ ! `echo -e "a746e5e0c210a102ed73eb06accf0769  plymouth-0.7.0-0.2009.05.15.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 plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm ;
sleep 0.5s ;
echo "plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#1
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm ;
if [ ! `echo -e "8b78a068a77c61c621bdcef7ad454fb4  plymouth-libs-0.7.0-0.2009.05.15.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 plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm ;
sleep 0.5s ;
echo "plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#2
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm ;
if [ ! `echo -e "516f25f8db094d17d9d1273ac0822414  xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.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 xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm ;
sleep 0.5s ;
echo "xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm ;
rm /room/.md-5.sm ;
fi ;
#3
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'ConsoleKit-x11-0.3.0-8.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "ConsoleKit-x11-0.3.0-8.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/ConsoleKit-x11-0.3.0-8.fc11.i586.rpm ;
if [ ! `echo -e "56ead56fbe75e4a11f869f21c1e1f03a  ConsoleKit-x11-0.3.0-8.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 ConsoleKit-x11-0.3.0-8.fc11.i586.rpm ;
sleep 0.5s ;
echo "ConsoleKit-x11-0.3.0-8.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/ConsoleKit-x11-0.3.0-8.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#4
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
xmessage "Part - 4."


Edit: 2013, jan 25.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------

Quote:

Install--5_PART-5--DBus_Avahi_Hal.sh
Code:

#!/bin/bash
#
#Variant - 1. >>>
#
#sed -i 's/^[[:space:]]*<fork\/>/<!--<fork\/>-->/;s/^[[:space:]]*\(<pidfile>.*<\/pidfile>\)/<!--\1-->/' /etc/dbus-1/system.conf ;
#if [ -n /var/log/dmesg.log ] ; then
#dmesg > /var/log/dmesg.log ;
#fi
#if [ -e /var/run/dbus.pid ] ; then
#rm /var/run/dbus.pid ;
#fi
#if [ -e /var/run/messagebus.pid ] ; then
#rm /var/run/messagebus.pid ;
#fi
#if [ -e /var/run/haldaemon.pid ] ; then
#rm /var/run/haldaemon.pid ;
#fi
#if [ ! -x /var/run/dbus ] ; then
#echo ''`install -m755 -g 91 -o 91 -d /var/run/dbus` ;
#fi
#if [ -x /bin/dbus-uuidgen ] ; then
#dbus-uuidgen --ensure ;
#fi
#if [ -x `ps -eocomm | grep dbus-daemon` ] ; then
#dbus-launch --sh-syntax --exit-with-session ;
#dbus-daemon --system &
#fi
#ps -eocomm | grep hald > /dev/null || hald --daemon=yes --use-syslog &
#if [ -e /var/log/dmesg.log ] ; then
#mv /var/log/dmesg.log /var/log/dmesg.log.1 ; dmesg > /var/log/dmesg.log ;
#fi
#ps -eocomm | grep avahi-daemon > /dev/null || avahi-daemon -D ;
#ps -eocomm | grep console-kit-daemon > /dev/null || console-kit-daemon ;
#xmessage "STEP - 4." ;
#exit 0
#esac
#done
#<<< Variant - 1.
#
#
# # #
#
#
#Variant - 2. >>>
#
cd / ;
#
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'xorg-x11-xinit-1.0.9-9.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "xorg-x11-xinit-1.0.9-9.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/xorg-x11-xinit-1.0.9-9.fc11.i586.rpm ;
if [ ! `echo -e "6656ff657277342ae7eed06fe3dec278  xorg-x11-xinit-1.0.9-9.fc11.i586.rpm" | md5sum -c - >/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /.md-5.sm` ] ; then xmessage -file /.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /.md-5.sm`" ; fi ;
rpm2cpio xorg-x11-xinit-1.0.9-9.fc11.i586.rpm | cpio -idv ./usr/bin/ck-xinit-session ;
sleep 0.5s ;
echo "xorg-x11-xinit-1.0.9-9.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /xorg-x11-xinit-1.0.9-9.fc11.i586.rpm ;
rm /.md-5.sm ;
fi ;
#-^-
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#
if [ `grep -w -s -c 'coreutils-7.2-8.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "coreutils-7.2-8.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/coreutils-7.2-8.fc11.i586.rpm ;
if [ ! `echo -e "d9aacfe681e58e6166e70ad8f22ed4ac  coreutils-7.2-8.fc11.i586.rpm" | md5sum -c - >/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /.md-5.sm` ] ; then xmessage -file /.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /.md-5.sm`" ; fi ;
rpm2cpio coreutils-7.2-8.fc11.i586.rpm | cpio -idv ./usr/bin/fmt ;
sleep 0.5s ;
echo "coreutils-7.2-8.fc11.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /coreutils-7.2-8.fc11.i586.rpm ;
rm /.md-5.sm ;
fi ;
#-^-
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#
if [ `grep -w -s -c 'initscripts-8.95.1-1.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "initscripts-8.95.1-1.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/initscripts-8.95.1-1.i586.rpm ;
if [ ! `echo -e "f27023465173d2b704843287f29cfed9  initscripts-8.95.1-1.i586.rpm" | md5sum -c - >/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /.md-5.sm` ] ; then xmessage -file /.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /.md-5.sm`" ; fi ;
rpm2cpio initscripts-8.95.1-1.i586.rpm | cpio -idv ./sbin/service ;
sleep 0.5s ;
rm /initscripts-8.95.1-1.i586.rpm ;
rm /.md-5.sm ;
#
sed -i 's|. /etc/init.d/functions|. /etc/rc.d/functions|' /sbin/service ;
#-^-
#
# # #
#
#
cd /tmp ;
#
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/initscripts-8.95.1-1.i586.rpm ;
if [ ! `echo -e "f27023465173d2b704843287f29cfed9  initscripts-8.95.1-1.i586.rpm" | md5sum -c - >/tmp/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /tmp/.md-5.sm` ] ; then xmessage -file /tmp/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /tmp/.md-5.sm`" ; fi ;
rpm2cpio initscripts-8.95.1-1.i586.rpm | cpio -idv ./etc/rc.d/init.d/functions ;
sleep 0.5s ;
echo "initscripts-8.95.1-1.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
mv /tmp/etc/rc.d/init.d/functions /tmp/ ;
rm -r /tmp/etc ;
rm /tmp/initscripts-8.95.1-1.i586.rpm ;
rm /tmp/.md-5.sm ;
fi ;
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
echo "" >> /etc/rc.d/functions ;
echo "#1............................................................................." >> /etc/rc.d/functions ;
echo "#--------------------------------------------------------->>> Addition - 1. >>>" >> /etc/rc.d/functions ;
echo "" >> /etc/rc.d/functions ;
cat /tmp/functions | tail -n 518 | head -n 215 >> /etc/rc.d/functions ;
echo "" >> /etc/rc.d/functions ;
echo "#<<< Addition - 1. <<<---------------------------------------------------------" >> /etc/rc.d/functions ;
echo "" >> /etc/rc.d/functions ;
#
echo "#2............................................................................." >> /etc/rc.d/functions ;
echo "#--------------------------------------------------------->>> Addition - 2. >>>" >> /etc/rc.d/functions ;
echo "" >> /etc/rc.d/functions ;
cat /tmp/functions | tail -n 302 >> /etc/rc.d/functions ;
echo "" >> /etc/rc.d/functions ;
echo "#<<< Addition - 2. <<<---------------------------------------------------------" >> /etc/rc.d/functions ;
#
rm /tmp/functions ;
#
#Simply weird lines in the "/etc/rc.d/functions" file >>>
#pidlist=$(/sbin/pidof -o $$ -o $PPID -o %PPID -x $base)
#<<< Simply weird lines in the "/etc/rc.d/functions" file
#
#Here, in "Puppy Linux - 1.40" version of "pidof" program doesn't have such an option as: "-x"
#
sleep 0.5s ;
sed -i 's/\tpidof -c -o $$ -o $PPID -o %PPID -x "$1" || \\/\tpidof -o $$ -o $PPID -o %PPID "$1" || \\/' /etc/rc.d/functions ;
sleep 0.5s ;
sed -i 's/\t\tpidof -c -o $$ -o $PPID -o %PPID -x "${1##\*\/}"/\t\tpidof -o $$ -o $PPID -o %PPID "${1##\*\/}"/' /etc/rc.d/functions ;
#
#
sed -i 's/#v4.01 BK daemon to handle kernel uevents.../#insertion:_ck-xinit-session\nif \[ -x \/usr\/bin\/ck-xinit-session -a -z "$XDG_SESSION_COOKIE" \];\ then\n\tCK_XINIT_SESSION="\/usr\/bin\/ck-xinit-session" ; fi ;\n\n#v4.01 BK daemon to handle kernel uevents.../' /root/.xinitrc ;
#
#
#! ! ! Find >>> WHAT IS "$SSH_AGENT"
#There is no "$SSH_AGENT" in the -=Quirky Linux - 1.40=- OS.
#
#! ! ! Look into /etc/passwd and /etc/group
#
#sshd user: /etc/group = sshd::33:sshd ; /etc/passwd = sshd:x:33:33:sshd:/:
#
#Example of launching: /usr/bin/ck-xinit-session /usr/bin/ssh-agent /etc/X11/xinit/Xclients
#
#>>>
#! ! ! ! !  (ck-list-sessions:27191): WARNING **: Failed to get list of seats: The permission of the setuid helper is not correct
#! Launch "console-kit-daemon"
#I think that before "console-kit-daemon" program there must be launched such a programs as 1)"acpid" 2)"messagebus" 3)"avahi-daemon" 4)"haldaemon". !
#Example of gueue: K74lm_sensors ; S22messagebus ; S24avahi-daemon ; S26haldaemon ;
#K = Kill ; S = Start ; 00 - the first ; 99 - the last.
#<<<
#
#sed -i '/[\ -x\ $CURRENTWM\ ]\ &&\ exec\ $CURRENTWM/,/exec\ jwm/ c[\ -x\ $CURRENTWM\ ]\ &&\ exec\ $CURRENTWM\nexec\ $CK_XINIT_SESSION\ $SSH_AGENT\ \/usr\/bin\/jwm' /root/.xinitrc ;
#
sed -i '/[\ -x\ $CURRENTWM\ ]\ &&\ exec\ $CURRENTWM/,/exec\ jwm/ c[\ -x\ $CURRENTWM\ ]\ &&\ exec\ $CURRENTWM\nexec\ $CK_XINIT_SESSION\ \/usr\/bin\/jwm' /root/.xinitrc ;
#
#-^-
#
# # #
#
#
sed -i 's|. /etc/rc.d/init.d/functions|. /etc/rc.d/functions|' /etc/init.d/messagebus ;
#
sed -i 's|. /etc/rc.d/init.d/functions|. /etc/rc.d/functions|' /etc/init.d/haldaemon ;
#
sed -i 's|. /etc/init.d/functions|. /etc/rc.d/functions|' /etc/init.d/avahi-daemon ;
#
sed -i 's|. /etc/rc.d/init.d/functions|. /etc/rc.d/functions|' /etc/init.d/acpid ;
#
# # #
#
mkdir -p /etc/sysconfig ;
#
echo "NETWORKING=yes" > /etc/sysconfig/network ;
#
# # #
#
#
cd / ;
#
if [ `grep -w -s -c 'chkconfig-1.3.42-1.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 0 ] ;
then echo "chkconfig-1.3.42-1.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/chkconfig-1.3.42-1.i586.rpm ;
if [ ! `echo -e "9b1770e872eab6efd2280be6e2e133e8  chkconfig-1.3.42-1.i586.rpm" | md5sum -c - >/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /.md-5.sm` ] ; then xmessage -file /.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /.md-5.sm`" ; fi ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./etc/alternatives ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./etc/chkconfig.d ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./sbin/chkconfig ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/sbin/alternatives ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/sbin/update-alternatives ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/doc/chkconfig-1.3.42 ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/doc/chkconfig-1.3.42/COPYING ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ar/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/as/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/bal/LC_MESSAGES/chkconfig.mo ;
sleep 0.5s ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/be/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/bg/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/bn/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/bn_IN/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/bs/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ca/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/cs/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/cy/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/da/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/de/LC_MESSAGES/chkconfig.mo ;
sleep 0.5s ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/el/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/en_GB/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/es/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/et/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/fi/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/fr/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/gl/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/gu/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/he/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/hi/LC_MESSAGES/chkconfig.mo ;
sleep 0.5s ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/hr/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/hu/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/hy/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/id/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/is/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/it/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ja/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ka/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/kn/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ko/LC_MESSAGES/chkconfig.mo ;
sleep 0.5s ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ku/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/lo/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/lv/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/mai/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/mk/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ml/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/mr/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ms/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/my/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/nb/LC_MESSAGES/chkconfig.mo ;
sleep 0.5s ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/nl/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/nn/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/or/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/pa/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/pl/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/pt/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/pt_BR/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ro/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ru/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/si/LC_MESSAGES/chkconfig.mo ;
sleep 0.5s ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/sk/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/sl/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/sq/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/sr/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/sr@latin/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/sv/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ta/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/te/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/tg/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/tr/LC_MESSAGES/chkconfig.mo ;
sleep 0.5s ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/uk/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/ur/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/vi/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/zh_CN/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/locale/zh_TW/LC_MESSAGES/chkconfig.mo ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/man/man8/alternatives.8.gz ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/man/man8/chkconfig.8.gz ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./usr/share/man/man8/update-alternatives.8.gz ;
rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -idv ./var/lib/alternatives ;
sleep 0.5s ;
echo "chkconfig-1.3.42-1.i586.rpm..rm" >>/usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /chkconfig-1.3.42-1.i586.rpm ;
rm /.md-5.sm ;
fi ;
#-^-
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#
#
#One service behind the another one in the queue >>>
#
#/etc/init.d/acpid start ;
#
#? /etc/init.d/lm_sensors ?
#
/etc/init.d/messagebus start ;
#
/etc/init.d/avahi-daemon start ;
#
/etc/init.d/haldaemon start ;
#
ps -eocomm | grep console-kit-daemon >/dev/null || console-kit-daemon ;# "||" = "OR" = if 1st operation fails, then 2nd starts.
#
xmessage "STEP - 5." ;
exit 0
esac
done
#<<< Variant - 2.


Edit: 2013, jan 25.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------

Quote:

Install_DBus_Avahi_Hal.sh
Code:

#!/bin/bash
#
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
sh /mnt/sr0/_Files/DBus_Avahi_Hal/Install--5_PART-1--DBus_Avahi_Hal.sh ;
fi ;
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
sh /mnt/sr0/_Files/DBus_Avahi_Hal/Install--5_PART-2--DBus_Avahi_Hal.sh ;
fi ;
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
sh /mnt/sr0/_Files/DBus_Avahi_Hal/Install--5_PART-3--DBus_Avahi_Hal.sh ;
fi ;
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
sh /mnt/sr0/_Files/DBus_Avahi_Hal/Install--5_PART-4--DBus_Avahi_Hal.sh ;
fi ;
if [ -n /mnt/sr0/_Files/DBus_Avahi_Hal/Install--5_PART-5--DBus_Avahi_Hal.sh ] ; then
cp /mnt/sr0/_Files/DBus_Avahi_Hal/Install--5_PART-5--DBus_Avahi_Hal.sh /usr/local/bin/ ;
fi ;
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
sh /usr/local/bin/Install--5_PART-5--DBus_Avahi_Hal.sh ;
fi ;
#
xmessage '-=DBus=-, -=Avahi=- and -=Hal=- have been installed. Xorg will be relaunched.' ;
sleep 1s ;
/usr/bin/restartwm `rm /usr/local/bin/Install--5_PART-5--DBus_Avahi_Hal.sh`
#exec wmexit


Edit: 2013, jan 25.


A script's content can be copied into text editor by means of <Quote> mode.

<------ INSTALLATION

Addition:
Quote:

Variant of installation: full on HDD
/etc/rc.d/rc.local
Quote:

#this file called from rc.sysinit
#you can edit this file
#When firewall is installed, will append lines to this file...

if [ -x /etc/rc.d/rc.firewall ]; then
/etc/rc.d/rc.firewall start
fi
#
# # # for Dbus, Avahi, Hal --->
#
if [ -x /etc/init.d/messagebus ]; then
/etc/init.d/messagebus start
fi
if [ -x /etc/init.d/avahi-daemon ]; then
/etc/init.d/avahi-daemon start
fi
if [ -x /etc/init.d/haldaemon ]; then
/etc/init.d/haldaemon start
fi
ps -eocomm | grep console-kit-daemon >/dev/null || console-kit-daemon
#
# # # <------ for Dbus, Avahi, Hal
#


_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.


Last edited by postfs1 on Fri 25 Jan 2013, 13:14; edited 6 times in total
Back to top
View user's profile Send private message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Sat 19 Nov 2011, 14:56    Post subject: "Hal-Device-Manager" in "Quirky Linux - 1.4" ! only script
Subject description: As the addition to topic "Dbus, Avahi, Hal in -=Quirky Linux -1.4=-"
 

Maybe, for good working, this system must be compiled in "Quirky Linux". Maybe some settings must be changed for good working.

This program gives an opportunity to compare the information from the "Quirky Linux - 1.40" operating system with information from the "Fedora Linux - 11" operating system.

Arrow

Quote:

Install_Hal-gnome--sr0.sh
Code:

#!/bin/bash
#
cd /room ;
#
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-7_files/hal-gnome-0.5.9-8.fc7.i386.rpm ;
if [ ! `echo -e "881df11de7f7374e44a18e2101286cb2  hal-gnome-0.5.9-8.fc7.i386.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 hal-gnome-0.5.9-8.fc7.i386.rpm ;
sleep 0.5s ;
rm /room/hal-gnome-0.5.9-8.fc7.i386.rpm ;
rm /room/.md-5.sm ;
#1
#
# # #
#
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/avahi-glib-0.6.25-3.fc11.i586.rpm ;
if [ ! `echo -e "7640c681a3b49b2f6b1254ab66424b95  avahi-glib-0.6.25-3.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 avahi-glib-0.6.25-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/avahi-glib-0.6.25-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#1
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/dbus-python-0.83.0-5.fc11.i586.rpm ;
if [ ! `echo -e "498b556c9cdb8f6bcb70b5b2f482b415  dbus-python-0.83.0-5.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 dbus-python-0.83.0-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/dbus-python-0.83.0-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#2
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/GConf2-2.26.2-1.fc11.2.i586.rpm ;
if [ ! `echo -e "958e9ce3f3ca811b09795cf7385b0815  GConf2-2.26.2-1.fc11.2.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 GConf2-2.26.2-1.fc11.2.i586.rpm ;
sleep 0.5s ;
rm /room/GConf2-2.26.2-1.fc11.2.i586.rpm ;
rm /room/.md-5.sm ;
#3
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/gnome-keyring-2.26.3-2.fc11.i586.rpm ;
if [ ! `echo -e "f449a2acdf5e3a2b617662dbbc58e501  gnome-keyring-2.26.3-2.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 gnome-keyring-2.26.3-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gnome-keyring-2.26.3-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#4
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/gnome-python2-bonobo-2.26.1-1.fc11.i586.rpm ;
if [ ! `echo -e "6b9c237cca7dab85b345a9a86b7246d5  gnome-python2-bonobo-2.26.1-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 gnome-python2-bonobo-2.26.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gnome-python2-bonobo-2.26.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#5
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/gnome-python2-canvas-2.26.1-1.fc11.i586.rpm ;
if [ ! `echo -e "884e030cc7293f33fb17726f9c849398  gnome-python2-canvas-2.26.1-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 gnome-python2-canvas-2.26.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gnome-python2-canvas-2.26.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#6
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/gnome-python2-gnome-2.26.1-1.fc11.i586.rpm ;
if [ ! `echo -e "6a5f592f4a72aa4d4c4fdd0abbf370ee  gnome-python2-gnome-2.26.1-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 gnome-python2-gnome-2.26.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gnome-python2-gnome-2.26.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#7
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/gnome-python2-gnomevfs-2.26.1-1.fc11.i586.rpm ;
if [ ! `echo -e "c5f0314b23b3f768a3880d50a642da33  gnome-python2-gnomevfs-2.26.1-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 gnome-python2-gnomevfs-2.26.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gnome-python2-gnomevfs-2.26.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#8
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/gnome-vfs2-2.24.1-2.fc11.i586.rpm ;
if [ ! `echo -e "3da79c31f45e9051037a95b92f727f15  gnome-vfs2-2.24.1-2.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 gnome-vfs2-2.24.1-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gnome-vfs2-2.24.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#9
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/keyutils-libs-1.2-5.fc11.i586.rpm ;
if [ ! `echo -e "247a0ac4b1c56f542f3496d2eec16349  keyutils-libs-1.2-5.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 keyutils-libs-1.2-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/keyutils-libs-1.2-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#10
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/krb5-libs-1.6.3-31.fc11.i586.rpm ;
if [ ! `echo -e "8f4bec783f5fa9a1ab31438a231cbd7e  krb5-libs-1.6.3-31.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 krb5-libs-1.6.3-31.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/krb5-libs-1.6.3-31.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#11
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/libbonobo-2.24.1-1.fc11.i586.rpm ;
if [ ! `echo -e "ed7e00f7cb6d8b5b380e9126cba7fc40  libbonobo-2.24.1-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 libbonobo-2.24.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libbonobo-2.24.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#12
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/libbonoboui-2.24.1-1.fc11.i586.rpm ;
if [ ! `echo -e "60beefd6c33a5dbd8050705ac0e50d9a  libbonoboui-2.24.1-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 libbonoboui-2.24.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libbonoboui-2.24.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#13
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/libgnome-2.26.0-1.fc11.i586.rpm ;
if [ ! `echo -e "e9a4ca71d48df7aceb549cd09ab6ca22  libgnome-2.26.0-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 libgnome-2.26.0-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libgnome-2.26.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#14
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/libgnomeui-2.24.1-1.fc11.i586.rpm ;
if [ ! `echo -e "3e67cd9fe07d59d8ca8d4b45c94fab09  libgnomeui-2.24.1-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 libgnomeui-2.24.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libgnomeui-2.24.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#15
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/openssl-0.9.8n-2.fc11.i686.rpm ;
if [ ! `echo -e "2e7dc70ccf871f43e8d37e602b24687b  openssl-0.9.8n-2.fc11.i686.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 openssl-0.9.8n-2.fc11.i686.rpm ;
sleep 0.5s ;
rm /room/openssl-0.9.8n-2.fc11.i686.rpm ;
rm /room/.md-5.sm ;
#16
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/ORBit2-2.14.17-1.fc11.i586.rpm ;
if [ ! `echo -e "4cbca83dd08c5ee353f01d3465af7100  ORBit2-2.14.17-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 ORBit2-2.14.17-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/ORBit2-2.14.17-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#17
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/pycairo-1.8.2-2.fc11.i586.rpm ;
if [ ! `echo -e "d32a19ebaedac3d729497eaa8fc5a4d4  pycairo-1.8.2-2.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 pycairo-1.8.2-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pycairo-1.8.2-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#18
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/pygobject2-2.16.1-4.fc11.i586.rpm ;
if [ ! `echo -e "7735cbab4dfbedefb76346923a7e49c4  pygobject2-2.16.1-4.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 pygobject2-2.16.1-4.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pygobject2-2.16.1-4.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#19
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/pygtk2-2.14.1-2.fc11.i586.rpm ;
if [ ! `echo -e "7c5f65be473f4460e45cf9a352218253  pygtk2-2.14.1-2.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 pygtk2-2.14.1-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pygtk2-2.14.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#20
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/pygtk2-libglade-2.14.1-2.fc11.i586.rpm ;
if [ ! `echo -e "b0ebf244019f9912ecc3c3602621c1f1  pygtk2-libglade-2.14.1-2.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 pygtk2-libglade-2.14.1-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pygtk2-libglade-2.14.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#21
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/pyorbit-2.24.0-3.fc11.i586.rpm ;
if [ ! `echo -e "0c02b6265cb0e0e71e3b3e30d4deb0d0  pyorbit-2.24.0-3.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 pyorbit-2.24.0-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/pyorbit-2.24.0-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#22
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/python-2.6-12.fc11.i586.rpm ;
if [ ! `echo -e "3d270f0adf1488423d909723ddc6975c  python-2.6-12.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 python-2.6-12.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/python-2.6-12.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#23
curl -C - -O file:///mnt/sr0/HAL_Device_Viewer--Python/Fedora-11_files/python-libs-2.6-12.fc11.i586.rpm ;
if [ ! `echo -e "c195928248c026a3165fc7fde03a975b  python-libs-2.6-12.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 python-libs-2.6-12.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/python-libs-2.6-12.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#24
#
rm /usr/share/applications/fedora-hal-device-manager.desktop ;
#
echo '[Desktop Entry]' > /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'Name=Hardware' >> /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'GenericName=Hardware' >> /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'Comment=View information on the hardware on this computer' >> /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'Exec=hal-device-manager' >> /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'Terminal=0' >> /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'Type=Application' >> /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'Icon=/usr/share/hal/device-manager/hal-bus-pci.png' >> /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'StartupNotify=true' >> /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'Categories=System' >> /usr/share/applications/Hal-Device-Manager.desktop ;
echo 'X-Desktop-File-Install-Version=0.12' >> /usr/share/applications/Hal-Device-Manager.desktop ;
#
rox -p=/root/Choices/ROX-Filer/PuppyPin ;
fixmenus ;
#
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
xmessage 'Install -=DBus=- and -=Hal=-, please.' ;
else xmessage 'There is no need to install -=DBus=- and -=Hal=-.' ;
fi ;
sleep 0.5s ;
xmessage "-=Hal-gnome-0.5.9-8.fc7.i386=- has been installed." `jwm -restart`


Edit: 2011, nov 19.


A script's content can be copied into text editor by means of <Quote> mode.

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send private message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Fri 25 Jan 2013, 13:07    Post subject:  

It works somehow.

DEINSTALLATION --->

Quote:

Remove--5_PART-1--DBus_Avahi_Hal.sh
Code:

#!/bin/bash
#
cd /room ;
#
if [ `grep -w -s -c 'hal-libs-0.5.12-29.20090226git.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/hal-libs-0.5.12-29.20090226git.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/hal-libs-0.5.12-29.20090226git.fc11.i586.rpm ;
if [ ! `echo -e "55eeb73cdb589bed7e0843944d91afcd  hal-libs-0.5.12-29.20090226git.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 ;
bash -c "`rpm -qp -l hal-libs-0.5.12-29.20090226git.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l hal-libs-0.5.12-29.20090226git.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/hal-libs-0.5.12-29.20090226git.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/hal-libs-0.5.12-29.20090226git.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#1
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'dbus-libs-1.2.12-2.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/dbus-libs-1.2.12-2.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/dbus-libs-1.2.12-2.fc11.i586.rpm ;
if [ ! `echo -e "b75b063e1c7d4e4b952e58f37b08c101  dbus-libs-1.2.12-2.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 ;
bash -c "`rpm -qp -l dbus-libs-1.2.12-2.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l dbus-libs-1.2.12-2.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/dbus-libs-1.2.12-2.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/dbus-libs-1.2.12-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#2
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'dbus-qt-0.70-6.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/dbus-qt-0.70-6.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/dbus-qt-0.70-6.fc11.i586.rpm ;
if [ ! `echo -e "65468d7cc3c239a1dad10a30db395859  dbus-qt-0.70-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 ;
bash -c "`rpm -qp -l dbus-qt-0.70-6.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l dbus-qt-0.70-6.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/dbus-qt-0.70-6.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/dbus-qt-0.70-6.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#3
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'hal-0.5.12-29.20090226git.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/hal-0.5.12-29.20090226git.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/hal-0.5.12-29.20090226git.fc11.i586.rpm ;
if [ ! `echo -e "b26f01665e92b93f434cb966e0b8a4d5  hal-0.5.12-29.20090226git.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 ;
bash -c "`rpm -qp -l hal-0.5.12-29.20090226git.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l hal-0.5.12-29.20090226git.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/hal-0.5.12-29.20090226git.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/hal-0.5.12-29.20090226git.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#4
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'PolicyKit-0.9-6.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/PolicyKit-0.9-6.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/PolicyKit-0.9-6.fc11.i586.rpm ;
if [ ! `echo -e "595f3b1f9e1cce279f44dad0b755ebc4  PolicyKit-0.9-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 ;
bash -c "`rpm -qp -l PolicyKit-0.9-6.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l PolicyKit-0.9-6.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/PolicyKit-0.9-6.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/PolicyKit-0.9-6.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#5
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'avahi-0.6.25-3.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/avahi-0.6.25-3.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/avahi-0.6.25-3.fc11.i586.rpm ;
if [ ! `echo -e "2d71f8d1a11b3ce659958e2c6dba8e6a  avahi-0.6.25-3.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 ;
bash -c "`rpm -qp -l avahi-0.6.25-3.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l avahi-0.6.25-3.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/avahi-0.6.25-3.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/avahi-0.6.25-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#6
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'dbus-1.2.12-2.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/dbus-1.2.12-2.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/dbus-1.2.12-2.fc11.i586.rpm ;
if [ ! `echo -e "bc20bf16823e735034afe0a7fa96bd23  dbus-1.2.12-2.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 ;
bash -c "`rpm -qp -l dbus-1.2.12-2.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l dbus-1.2.12-2.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/dbus-1.2.12-2.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/dbus-1.2.12-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#7
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'dbus-glib-0.80-2.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/dbus-glib-0.80-2.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/dbus-glib-0.80-2.fc11.i586.rpm ;
if [ ! `echo -e "6ec24bf8efe6b238bae1241c7d531ba6  dbus-glib-0.80-2.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 ;
bash -c "`rpm -qp -l dbus-glib-0.80-2.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l dbus-glib-0.80-2.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/dbus-glib-0.80-2.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/dbus-glib-0.80-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#8
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'dbus-x11-1.2.12-2.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/dbus-x11-1.2.12-2.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/dbus-x11-1.2.12-2.fc11.i586.rpm ;
if [ ! `echo -e "b700677a2c58a5695a146dad7ab02c07  dbus-x11-1.2.12-2.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 ;
bash -c "`rpm -qp -l dbus-x11-1.2.12-2.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l dbus-x11-1.2.12-2.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/dbus-x11-1.2.12-2.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/dbus-x11-1.2.12-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#9
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
xmessage "PART - 1."


Edit: 2013, jan 25.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------

Quote:

Remove--5_PART-2--DBus_Avahi_Hal.sh
Code:

#!/bin/bash
#
cd /room ;
#
if [ `grep -w -s -c 'libselinux-2.0.80-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/libselinux-2.0.80-1.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/libselinux-2.0.80-1.fc11.i586.rpm ;
if [ ! `echo -e "a33dd8be6e63530f3babeec2e3c03019  libselinux-2.0.80-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 ;
bash -c "`rpm -qp -l libselinux-2.0.80-1.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l libselinux-2.0.80-1.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/libselinux-2.0.80-1.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/libselinux-2.0.80-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#10
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'audit-libs-1.7.17-1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/audit-libs-1.7.17-1.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/audit-libs-1.7.17-1.fc11.i586.rpm ;
if [ ! `echo -e "4981e145ce0099d5e52d4a41ea8cdb57  audit-libs-1.7.17-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 ;
bash -c "`rpm -qp -l audit-libs-1.7.17-1.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l audit-libs-1.7.17-1.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/audit-libs-1.7.17-1.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/audit-libs-1.7.17-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#11
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'hal-info-20090414-1.fc11.noarch.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/hal-info-20090414-1.fc11.noarch.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/hal-info-20090414-1.fc11.noarch.rpm ;
if [ ! `echo -e "9a342677662134091609b9815ce4ea1b  hal-info-20090414-1.fc11.noarch.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 ;
bash -c "`rpm -qp -l hal-info-20090414-1.fc11.noarch.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l hal-info-20090414-1.fc11.noarch.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/hal-info-20090414-1.fc11.noarch.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/hal-info-20090414-1.fc11.noarch.rpm ;
rm /room/.md-5.sm ;
fi ;
#12
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'ConsoleKit-0.3.0-8.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/ConsoleKit-0.3.0-8.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/ConsoleKit-0.3.0-8.fc11.i586.rpm ;
if [ ! `echo -e "7dd01ab6046ef474734baa801d7c18ca  ConsoleKit-0.3.0-8.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 ;
bash -c "`rpm -qp -l ConsoleKit-0.3.0-8.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l ConsoleKit-0.3.0-8.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/ConsoleKit-0.3.0-8.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/ConsoleKit-0.3.0-8.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#13
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'ConsoleKit-libs-0.3.0-8.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/ConsoleKit-libs-0.3.0-8.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/ConsoleKit-libs-0.3.0-8.fc11.i586.rpm ;
if [ ! `echo -e "77a6e030b1c0dd7c8e5206ae79c470da  ConsoleKit-libs-0.3.0-8.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 ;
bash -c "`rpm -qp -l ConsoleKit-libs-0.3.0-8.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l ConsoleKit-libs-0.3.0-8.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/ConsoleKit-libs-0.3.0-8.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/ConsoleKit-libs-0.3.0-8.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#14
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'acpid-1.0.8-4.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/acpid-1.0.8-4.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/acpid-1.0.8-4.fc11.i586.rpm ;
if [ ! `echo -e "62a3f8516f01e733c2275e656991c177  acpid-1.0.8-4.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 ;
bash -c "`rpm -qp -l acpid-1.0.8-4.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l acpid-1.0.8-4.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/acpid-1.0.8-4.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/acpid-1.0.8-4.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#15
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
xmessage "Part - 2."


Edit: 2013, jan 25.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------

Quote:

Remove--5_PART-3--DBus_Avahi_Hal.sh
Code:

#!/bin/bash
#
cd /room ;
#
if [ `grep -w -s -c 'plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm ;
if [ ! `echo -e "a746e5e0c210a102ed73eb06accf0769  plymouth-0.7.0-0.2009.05.15.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 ;
bash -c "`rpm -qp -l plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/plymouth-0.7.0-0.2009.05.15.1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#1
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm ;
if [ ! `echo -e "8b78a068a77c61c621bdcef7ad454fb4  plymouth-libs-0.7.0-0.2009.05.15.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 ;
bash -c "`rpm -qp -l plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/plymouth-libs-0.7.0-0.2009.05.15.1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#2
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm ;
if [ ! `echo -e "516f25f8db094d17d9d1273ac0822414  xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.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 ;
bash -c "`rpm -qp -l xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/xdg-utils-1.0.2-16.20091217cvs.fc11.noarch.rpm ;
rm /room/.md-5.sm ;
fi ;
#3
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if [ `grep -w -s -c 'ConsoleKit-x11-0.3.0-8.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/ConsoleKit-x11-0.3.0-8.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/ConsoleKit-x11-0.3.0-8.fc11.i586.rpm ;
if [ ! `echo -e "56ead56fbe75e4a11f869f21c1e1f03a  ConsoleKit-x11-0.3.0-8.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 ;
bash -c "`rpm -qp -l ConsoleKit-x11-0.3.0-8.fc11.i586.rpm | sed 's/^/rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm -qp -l ConsoleKit-x11-0.3.0-8.fc11.i586.rpm | rev | cut -d'/' -f2- | rev | sort -u | sed 's/^/rmdir --ignore-fail-on-non-empty -p /' | sed 's/$/ ;/'`" ;
sed -i '/ConsoleKit-x11-0.3.0-8.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /room/ConsoleKit-x11-0.3.0-8.fc11.i586.rpm ;
rm /room/.md-5.sm ;
fi ;
#4
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
xmessage "Part - 3."


Edit: 2013, jan 25.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------

Quote:

Remove--5_PART-4--DBus_Avahi_Hal.sh
Code:

#!/bin/bash
#
cd / ;
#
if [ `grep -w -s -c 'xorg-x11-xinit-1.0.9-9.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/xorg-x11-xinit-1.0.9-9.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/xorg-x11-xinit-1.0.9-9.fc11.i586.rpm ;
if [ ! `echo -e "6656ff657277342ae7eed06fe3dec278  xorg-x11-xinit-1.0.9-9.fc11.i586.rpm" | md5sum -c - >/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /.md-5.sm` ] ; then xmessage -file /.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /.md-5.sm`" ; fi ;
bash -c "`rpm2cpio xorg-x11-xinit-1.0.9-9.fc11.i586.rpm | cpio -t ./usr/bin/ck-xinit-session 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
sed -i '/xorg-x11-xinit-1.0.9-9.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /xorg-x11-xinit-1.0.9-9.fc11.i586.rpm ;
rm /.md-5.sm ;
fi ;
#-^-
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#
if [ `grep -w -s -c 'coreutils-7.2-8.fc11.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/coreutils-7.2-8.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/coreutils-7.2-8.fc11.i586.rpm ;
if [ ! `echo -e "d9aacfe681e58e6166e70ad8f22ed4ac  coreutils-7.2-8.fc11.i586.rpm" | md5sum -c - >/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /.md-5.sm` ] ; then xmessage -file /.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /.md-5.sm`" ; fi ;
bash -c "`rpm2cpio coreutils-7.2-8.fc11.i586.rpm | cpio -t ./usr/bin/fmt 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
sed -i '/coreutils-7.2-8.fc11.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /coreutils-7.2-8.fc11.i586.rpm ;
rm /.md-5.sm ;
fi ;
#-^-
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#
if [ `grep -w -s -c 'initscripts-8.95.1-1.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/initscripts-8.95.1-1.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/initscripts-8.95.1-1.i586.rpm ;
if [ ! `echo -e "f27023465173d2b704843287f29cfed9  initscripts-8.95.1-1.i586.rpm" | md5sum -c - >/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /.md-5.sm` ] ; then xmessage -file /.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /.md-5.sm`" ; fi ;
bash -c "`rpm2cpio initscripts-8.95.1-1.i586.rpm | cpio -t ./sbin/service 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
rm /initscripts-8.95.1-1.i586.rpm ;
rm /.md-5.sm ;
#
#sed -i 's|. /etc/init.d/functions|. /etc/rc.d/functions|' /sbin/service ;
#-^-
#
# # #
#
#
#cd /tmp ;
#
#curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/initscripts-8.95.1-1.i586.rpm ;
#if [ ! `echo -e "f27023465173d2b704843287f29cfed9  initscripts-8.95.1-1.i586.rpm" | md5sum -c - >/tmp/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /tmp/.md-5.sm` ] ; then xmessage -file /tmp/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /tmp/.md-5.sm`" ; fi ;
#bash -c "`rpm2cpio initscripts-8.95.1-1.i586.rpm | cpio -t ./etc/rc.d/init.d/functions 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
#sleep 0.5s ;
#rm /tmp/initscripts-8.95.1-1.i586.rpm ;
#rm /tmp/.md-5.sm ;
#
#echo "" >> /etc/rc.d/functions ;
#echo "#1............................................................................." >> /etc/rc.d/functions ;
#echo "#--------------------------------------------------------->>> Addition - 1. >>>" >> /etc/rc.d/functions ;
#echo "" >> /etc/rc.d/functions ;
#cat /tmp/functions | tail -n 518 | head -n 215 >> /etc/rc.d/functions ;
#echo "" >> /etc/rc.d/functions ;
#echo "#<<< Addition - 1. <<<---------------------------------------------------------" >> /etc/rc.d/functions ;
#echo "" >> /etc/rc.d/functions ;
#
#echo "#2............................................................................." >> /etc/rc.d/functions ;
#echo "#--------------------------------------------------------->>> Addition - 2. >>>" >> /etc/rc.d/functions ;
#echo "" >> /etc/rc.d/functions ;
#cat /tmp/functions | tail -n 302 >> /etc/rc.d/functions ;
#echo "" >> /etc/rc.d/functions ;
#echo "#<<< Addition - 2. <<<---------------------------------------------------------" >> /etc/rc.d/functions ;
#
#rm /tmp/functions ;
#
#Simply weird lines in the "/etc/rc.d/functions" file >>>
#pidlist=$(/sbin/pidof -o $$ -o $PPID -o %PPID -x $base)
#<<< Simply weird lines in the "/etc/rc.d/functions" file
#
#Here, in "Puppy Linux - 1.40" version of "pidof" program doesn't have such an option as: "-x"
#
#sleep 0.5s ;
#sed -i 's/\tpidof -c -o $$ -o $PPID -o %PPID -x "$1" || \\/\tpidof -o $$ -o $PPID -o %PPID "$1" || \\/' /etc/rc.d/functions ;
#sleep 0.5s ;
#sed -i 's/\t\tpidof -c -o $$ -o $PPID -o %PPID -x "${1##\*\/}"/\t\tpidof -o $$ -o $PPID -o %PPID "${1##\*\/}"/' /etc/rc.d/functions ;
#
sed -i '/#1............................................................................./,/#<<< Addition - 1. <<<---------------------------------------------------------/d' /etc/rc.d/functions ;
sleep 0.5s ;
sed -i '/#2............................................................................./,/#<<< Addition - 2. <<<---------------------------------------------------------/d' /etc/rc.d/functions ;
#
sed -i '/initscripts-8.95.1-1.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
fi ;
#-^-
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#
sed -i '/#insertion:_ck-xinit-session/,/#v4.01\ BK\ daemon\ to\ handle\ kernel\ uevents.../ c#v4.01\ BK\ daemon\ to\ handle\ kernel\ uevents...' /root/.xinitrc ;
#
#! ! ! Find >>> WHAT IS "$SSH_AGENT"
#There is no "$SSH_AGENT" in the -=Quirky Linux - 1.40=- OS.
#
#! ! ! Look into /etc/passwd and /etc/group
#
#sshd user: /etc/group = sshd::33:sshd ; /etc/passwd = sshd:x:33:33:sshd:/:
#
#Example of launching: /usr/bin/ck-xinit-session /usr/bin/ssh-agent /etc/X11/xinit/Xclients
#
#>>>
#! ! ! ! !  (ck-list-sessions:27191): WARNING **: Failed to get list of seats: The permission of the setuid helper is not correct
#! Launch "console-kit-daemon"
#I think that before "console-kit-daemon" program there must be launched such a programs as 1)"acpid" 2)"messagebus" 3)"avahi-daemon" 4)"haldaemon". !
#Example of gueue: K74lm_sensors ; S22messagebus ; S24avahi-daemon ; S26haldaemon ;
#K = Kill ; S = Start ; 00 - the first ; 99 - the last.
#<<<
#
#sed -i '/[\ -x\ $CURRENTWM\ ]\ &&\ exec\ $CURRENTWM/,/exec\ jwm/ c[\ -x\ $CURRENTWM\ ]\ &&\ exec\ $CURRENTWM\nexec\ $CK_XINIT_SESSION\ $SSH_AGENT\ \/usr\/bin\/jwm' /root/.xinitrc ;
#
sed -i '/[\ -x\ $CURRENTWM\ ]\ &&\ exec\ $CURRENTWM/,/exec\ $CK_XINIT_SESSION\ \/usr\/bin\/jwm/ cwhich\ $CURRENTWM\ &&\ exec\ $CURRENTWM\n[\ -x\ $CURRENTWM\ ]\ &&\ exec\ $CURRENTWM\nexec\ jwm' /root/.xinitrc ;
#
#-^-
#
# # #
#
#
#sed -i 's|. /etc/rc.d/init.d/functions|. /etc/rc.d/functions|' /etc/init.d/messagebus ;
#
#sed -i 's|. /etc/rc.d/init.d/functions|. /etc/rc.d/functions|' /etc/init.d/haldaemon ;
#
#sed -i 's|. /etc/init.d/functions|. /etc/rc.d/functions|' /etc/init.d/avahi-daemon ;
#
#sed -i 's|. /etc/rc.d/init.d/functions|. /etc/rc.d/functions|' /etc/init.d/acpid ;
#
# # #
#
#mkdir -p /etc/sysconfig ;
#
#echo "NETWORKING=yes" > /etc/sysconfig/network ;
#
# # #
#
#
#cd / ;
#
if [ `grep -w -s -c 'chkconfig-1.3.42-1.i586.rpm..rm' /usr/local/etc/*.dsktop | awk -F: '{ sum +=$2 } END { print sum }'` -gt 1 ] ;
then sed -i '/chkconfig-1.3.42-1.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ; else
curl -C - -O file:///mnt/sr0/_Files/DBus_Avahi_Hal/Fedora-11_files/chkconfig-1.3.42-1.i586.rpm ;
if [ ! `echo -e "9b1770e872eab6efd2280be6e2e133e8  chkconfig-1.3.42-1.i586.rpm" | md5sum -c - >/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /.md-5.sm` ] ; then xmessage -file /.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /.md-5.sm`" ; fi ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./etc/alternatives 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./etc/chkconfig.d 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./sbin/chkconfig 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/sbin/alternatives 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/sbin/update-alternatives 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/doc/chkconfig-1.3.42 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/doc/chkconfig-1.3.42/COPYING 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ar/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/as/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/bal/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/be/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/bg/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/bn/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/bn_IN/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/bs/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ca/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/cs/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/cy/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/da/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/de/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/el/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/en_GB/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/es/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/et/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/fi/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/fr/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/gl/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/gu/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/he/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/hi/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/hr/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/hu/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/hy/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/id/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/is/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/it/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ja/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ka/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/kn/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ko/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ku/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/lo/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/lv/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/mai/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/mk/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ml/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/mr/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ms/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/my/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/nb/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/nl/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/nn/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/or/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/pa/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/pl/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/pt/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/pt_BR/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ro/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ru/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/si/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/sk/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/sl/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/sq/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/sr/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/sr@latin/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/sv/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ta/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/te/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/tg/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/tr/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/uk/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/ur/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/vi/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/zh_CN/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/locale/zh_TW/LC_MESSAGES/chkconfig.mo 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/man/man8/alternatives.8.gz 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/man/man8/chkconfig.8.gz 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./usr/share/man/man8/update-alternatives.8.gz 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
bash -c "`rpm2cpio chkconfig-1.3.42-1.i586.rpm | cpio -t ./var/lib/alternatives 2>&1 | grep -v blocks | sed 's/^./rm -f /' | sed 's/$/ ;/'`" ;
sleep 0.5s ;
sed -i '/chkconfig-1.3.42-1.i586.rpm..rm/d' /usr/local/etc/Dbus_Avahi_Hal.dsktop ;
rm /chkconfig-1.3.42-1.i586.rpm ;
rm /.md-5.sm ;
fi ;
#-^-
#- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# # #
#
#
#One service behind the another one in the queue >>>
#
#/etc/init.d/acpid start ;
#
#? /etc/init.d/lm_sensors ?
#
#/etc/init.d/messagebus start ;
#
#/etc/init.d/avahi-daemon start ;
#
#/etc/init.d/haldaemon start ;
#
#ps -eocomm | grep console-kit-daemon >/dev/null || console-kit-daemon ;# "||" = "OR" = if 1st operation fails, then 2nd starts.
#
rmdir --ignore-fail-on-non-empty -p /etc/ConsoleKit/run-session.d ;
rmdir --ignore-fail-on-non-empty -p /etc/dbus-1/session.d ;
#
xmessage "STEP - 4." ;
exit 0
esac
done
#<<< Variant - 2.


Edit: 2013, jan 25.


---------------------------------------------------------------------------------------
|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|-<>-|
---------------------------------------------------------------------------------------


Quote:

Remove_DBus_Avahi_Hal.sh
Code:

#!/bin/bash
#
/etc/init.d/avahi-daemon stop ;
sleep 0.5s;
#1
ps -eocomm | grep -c console-kit-daemon | grep '0' >/dev/null || kill -15 `pidof console-kit-daemon` ; # "||" = "OR" = if 1st operation fails, then 2nd starts.
sleep 0.5s;
#2
/etc/init.d/haldaemon stop ;
sleep 0.5s;
#3
/etc/init.d/messagebus stop ;
sleep 0.5s;
ps -eocomm | grep -c dbus-daemon | grep '0' >/dev/null || kill -15 `pidof dbus-daemon` ;
sleep 0.5s;
ps -eocomm | grep -c dbus-launch | grep '0' >/dev/null || kill -15 `pidof dbus-launch` ;
sleep 0.5s;
xmessage "`service --status-all`" ;
#4
#
# # #
#
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
sh /mnt/sr0/_Files/DBus_Avahi_Hal/--DEINSTALLATION/Remove--5_PART-1--DBus_Avahi_Hal.sh ;
fi ;
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
sh /mnt/sr0/_Files/DBus_Avahi_Hal/--DEINSTALLATION/Remove--5_PART-2--DBus_Avahi_Hal.sh ;
fi ;
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
sh /mnt/sr0/_Files/DBus_Avahi_Hal/--DEINSTALLATION/Remove--5_PART-3--DBus_Avahi_Hal.sh ;
fi ;
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
sh /mnt/sr0/_Files/DBus_Avahi_Hal/--DEINSTALLATION/Remove--5_PART-4--DBus_Avahi_Hal.sh ;
fi ;
#
# # #
#
delgroup avahi ;
delgroup dbus ;
delgroup polkituser ;
delgroup acpid ;
#
deluser avahi ;
deluser dbus ;
deluser polkituser ;
deluser acpid ;
#
# # #
#
if [ -e /var/run/avahi-daemon ] ;
then rm -f -r /var/run/avahi-daemon ;
fi ;
#
if [ -e /var/run/dbus ] ;
then rm -f -r /var/run/dbus ;
fi ;
#
if [ -e /var/run/PolicyKit ] ;
then rm -f -r /var/run/PolicyKit ;
fi ;
#
# # #
#
if [ `grep -s -c '..rm' /usr/local/etc/Dbus_Avahi_Hal.dsktop | awk -F^ '{ sum +=$1 } END { print sum }'` -gt 0 ] ;
then sleep 0.5s ; else
rm /usr/local/etc/Dbus_Avahi_Hal.dsktop ; fi ;
#
xmessage '-=DBus=-, -=Avahi=- and -=Hal=- have been almost removed. Xorg will be relaunched.' ;
sleep 1s ;
/usr/bin/restartwm
#exec wmexit


Edit: 2013, jan 25.


A script's content can be copied into text editor by means of <Quote> mode.

<------ DEINSTALLATION

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » System
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3901s ][ Queries: 11 (0.0050s) ][ GZIP on ]