/usr/bin/simpleburn-burn-iso is in simpleburn 1.6.5-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/bash
cdwriter=$1
filename=`echo $2 | sed 's/"//g'`
if [ ! -f "$filename" ] || [ ! -b "$cdwriter" ]; then
echo "usage: $0 cdwriter somefile.iso"
echo "example: $0 /dev/sr0 /home/me/linux.iso"
exit
fi
if mount | grep -q "^$cdwriter "; then
umount $cdwriter || exit 255
fi
source simpleburn-burning-suite quiet
tracksize=`ls -l "$filename" | cut -f5 -d' '`
let tracksize=tracksize/1048576
$CDRECORD -v gracetime=3 dev=$cdwriter -pad "$filename" | simpleburn-gauges cdrecord $tracksize
status=${PIPESTATUS[0]}
echo "100"
exit $status
|