1
1
scripts/audiomount.sh

43 lines
884 B
Bash
Raw Normal View History

#!/bin/bash
sshfs kitt:/data/audio/music /home/david/Music/kitt/
cat /home/david/Documents/code/scripts/kitt.txt
echo "mounting audio storage"
#exaile --debug
sleep 0.8
clear
cat /home/david/Documents/code/scripts/kitt.txt
echo "mounting audio storage"
echo "starting rhythmbox"
sleep 0.8
clear
cat /home/david/Documents/code/scripts/kitt.txt
echo "mounting audio storage"
echo "starting rhythmbox."
sleep 0.8
clear
cat /home/david/Documents/code/scripts/kitt.txt
echo "mounting audio storage"
echo "starting rhythmbox.."
sleep 0.8
clear
cat /home/david/Documents/code/scripts/kitt.txt
echo "mounting audio storage"
echo "starting rhythmbox..."
rhythmbox &> /dev/null
#var="no"
#while [ $var != "yes" ]; do
# echo "unmounting audio storage now? [yes|no]"
# read var
#done
echo "unmounting audio storage"
2011-01-31 08:19:56 +01:00
sudo umount kitt:/data/audio
sleep 0.8
echo "byebye"
sleep 2
exit 0