ShNote: The wiki formating screws this up. If you want to copy the source code, you will need to edit the page to see it properly.
TIMELIMIT=20 cd /tmp
beep sudo mount /dev/cdrom /mnt/cdrom cp /mnt/cdrom/*.sh . clear echo "Choose what role this machine plays for mrsync" echo "1. Source Machine" echo "2. Target Machine" echo echo "Any other key to exit" echo echo "Defaults to 2 after "$TIMELIMIT" seconds" read -t $TIMELIMIT -n 1 CHOICE if [ -z "$CHOICE" ] # Is null then CHOICE="2" fi case $CHOICE in "1" ) clear beep ./source.sh ;; "2" ) clear beep -r 5 ./target.sh ;; esac |