diverses hinzu
This commit is contained in:
25
cd-burn-image
Executable file
25
cd-burn-image
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
#set -x
|
||||
|
||||
echo
|
||||
echo "Brennen eines CD-Images"
|
||||
echo
|
||||
|
||||
. /etc/dvd-scripts.env
|
||||
|
||||
CD_IMAGE=$1
|
||||
|
||||
hdparm -u1 -d1 $CD_DEVICE_SCSI
|
||||
if [ "$CD_IMAGE" == "" ]
|
||||
then
|
||||
echo "Usage: $0 image-file-to-burn"
|
||||
elif [ -s "$CD_IMAGE" ]
|
||||
then
|
||||
echo "Das Image $CD_IMAGE wird gebrannt..."
|
||||
cdrecord -v -eject dev="$CD_DEVICE_SCSI" -data "$CD_IMAGE"
|
||||
|
||||
else
|
||||
echo "Das Image $CD_IMAGE existiert nicht !"
|
||||
fi
|
||||
echo
|
||||
Reference in New Issue
Block a user