From 2eb24611ef0c2bc838035951e5d27f663a58a820 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 11 Mar 2016 19:45:03 +0000 Subject: I really hate to be a developer right now...I have to rewrite this Sabayon inherited crap --- kogaion-live-check | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 kogaion-live-check (limited to 'kogaion-live-check') diff --git a/kogaion-live-check b/kogaion-live-check deleted file mode 100644 index 4a238e1..0000000 --- a/kogaion-live-check +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# -# kogaion_livechk.sh -# -# Checks the integrity of a LiveCD/DVD by passing the -# contents of the image through a md5sum (to be compared -# with an documented value elsewhere). -# - -if ( ! isoinfo -d -i /dev/cdrom >>/dev/null 2>/dev/null ); then - echo "CDROM/DVD image not found!" - exit 1 -fi - -echo -e "Checking image integrity, please allow several minutes...\n" -echo "You can check for errors by running 'tail /var/log/messages'" -echo "in another console window. If you encounter multiple device" -echo "errors with you cdrom, this probably indicates the test is failing." -echo "You may type 'Ctrl-c' to abort the check." - -BLOCK_SIZE=`isoinfo -d -i /dev/cdrom | grep "Logical block size is" | cut -d: -f2 | sed 's/^[ ]//g'` -VOL_SIZE=`isoinfo -d -i /dev/cdrom | grep "Volume size is" | cut -d: -f2 | sed 's/^[ ]//g'` -dd if=/dev/cdrom bs=$BLOCK_SIZE count=$VOL_SIZE conv=notrunc,noerror | md5sum - -echo "Compare the above value with the value supplied in" -echo "the release notes for this version at:" -echo "http://www.rogentos.ro/" -- cgit v1.2.3