summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2016-12-06 15:31:13 +0100
committerErich Eckner <git@eckner.net>2016-12-06 15:31:13 +0100
commit32839fbaff57948b7f4ec818af6fda5e441c378f (patch)
tree36973f216d1149353ec1774c78b577c52264c426
downloadburn-audio-cd-32839fbaff57948b7f4ec818af6fda5e441c378f.tar.xz
Initial commit
-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
+'