summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xburn-audio-cd10
1 files changed, 10 insertions, 0 deletions
diff --git a/burn-audio-cd b/burn-audio-cd
new file mode 100755
index 0000000..b1eba60
--- /dev/null
+++ b/burn-audio-cd
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+shncue "$@" > cd.cue
+shnjoin "$@"
+
+su -c '
+ /etc/rc.d/boinc/stop
+ cdrdao write --eject --device /dev/sr0 cd.cue
+ /etc/rc.d/boinc/start
+'