added some output to make this more usable
[feisty_meow.git] / scripts / rip_burn / blu_burn.sh
index 096b47d3ba70942e5474476a434f4b8980da60bb..8d6863875b1564ffca31f4e52191c840ec3e477f 100644 (file)
@@ -1,5 +1,9 @@
 #!/bin/bash
 
+# burns a bluray or dvd data disc image onto a physical medium.
+
+source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
+
 function show_usage()
 {
   echo "This script needs two parameters, (1) an ISO file that provides the"
@@ -27,9 +31,13 @@ if [ ! -b "$device_name" ]; then
   exit 3
 fi
 
-echo iso "$iso_name" dev "$device_name"
+echo "burning disk from image '$iso_name' on device '$device_name'..."
+#echo iso "$iso_name" dev "$device_name"
 
 growisofs -dvd-compat -Z ${device_name}=${iso_name}
 #used to be appended to above line: -speed=2 
 #trying with letting it go default speed.  has been working for us recently.
+exit_on_error growing ISO FS from image ${iso_name}
+
+echo "success burning '$iso_name' onto device '$device_name' !"