From 67e87e6a5594fd498d786302f86ea29ea30805a0 Mon Sep 17 00:00:00 2001 From: Dan Puttick Date: Mon, 6 Feb 2017 17:25:24 -0500 Subject: [PATCH] A few small cleanups --- circlean_fs/root_partition/opt/groomer/config.sh | 2 +- circlean_fs/root_partition/opt/groomer/music.sh | 3 ++- shell_utils/copy_groomer_to_image.sh | 12 ------------ 3 files changed, 3 insertions(+), 14 deletions(-) delete mode 100755 shell_utils/copy_groomer_to_image.sh diff --git a/circlean_fs/root_partition/opt/groomer/config.sh b/circlean_fs/root_partition/opt/groomer/config.sh index f749abe..e69bf2e 100755 --- a/circlean_fs/root_partition/opt/groomer/config.sh +++ b/circlean_fs/root_partition/opt/groomer/config.sh @@ -26,4 +26,4 @@ PMOUNT="/usr/bin/pmount -A -s" PUMOUNT="/usr/bin/pumount" # Config flags -DEBUG=true +DEBUG=false diff --git a/circlean_fs/root_partition/opt/groomer/music.sh b/circlean_fs/root_partition/opt/groomer/music.sh index c57639d..0ac07f1 100755 --- a/circlean_fs/root_partition/opt/groomer/music.sh +++ b/circlean_fs/root_partition/opt/groomer/music.sh @@ -17,5 +17,6 @@ amixer cset numid=3 1 files=(${MUSIC}*) while true; do - $TIMIDITY ${files[RANDOM % ${#files[@]}]} + # -id flags set interface to "dumb" and -qq silences most/all terminal output + $TIMIDITY -idqq ${files[RANDOM % ${#files[@]}]} done diff --git a/shell_utils/copy_groomer_to_image.sh b/shell_utils/copy_groomer_to_image.sh deleted file mode 100755 index 636226d..0000000 --- a/shell_utils/copy_groomer_to_image.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -set -x - -cp circlean/root_partition/opt/groomer/init.sh /mnt/rpi/opt/groomer/init.sh -cp circlean/root_partition/opt/groomer/groomer.sh /mnt/rpi/opt/groomer/groomer.sh -cp circlean/root_partition/opt/groomer/config.sh /mnt/rpi/opt/groomer/config.sh -cp circlean/root_partition/opt/groomer/mount_dest.sh /mnt/rpi/opt/groomer/mount_dest.sh -cp circlean/root_partition/etc/rc.local /mnt/rpi/etc/rc.local -# cp circlean/root_partition/opt/groomer/music.sh /mnt/rpi/opt/groomer/music.sh -# cp circlean/root_partition/etc/pmount.allow /mnt/rpi/etc/pmount.allow -# cp circlean/root_partition/etc/udev/rules.d/10-usb.rules /mnt/rpi/etc/udev/rules.d/10-usb.rules