comparison scripts/set_startup.sh @ 422:d56e638c37c6 prerelease

Reduced verbosity of set_startup.sh
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 16 Jun 2016 14:03:52 +0100
parents a430a16d2c02
children 99de323c13b3
comparison
equal deleted inserted replaced
421:57903b3259e1 422:d56e638c37c6
51 esac 51 esac
52 done 52 done
53 53
54 shift $((OPTIND-1)) 54 shift $((OPTIND-1))
55 55
56 MAKE_COMMAND="make -C $BBB_BELA_HOME PROJECT=$BBB_PROJECT_NAME CL=\"$OPTARG\"" 56 MAKE_COMMAND="make --no-print-directory -C $BBB_BELA_HOME PROJECT=$BBB_PROJECT_NAME CL=\"$OPTARG\""
57 if [ $ENABLE_STARTUP -eq 0 ] 57 if [ $ENABLE_STARTUP -eq 0 ]
58 then 58 then
59 echo "Disabling Bela at startup..."
60 ssh $BBB_ADDRESS "$MAKE_COMMAND nostartup" 59 ssh $BBB_ADDRESS "$MAKE_COMMAND nostartup"
61 elif [ $RUN_IN_LOOP -eq 1 ] 60 elif [ $RUN_IN_LOOP -eq 1 ]
62 then 61 then
63 echo "Enabling Bela at startup..."
64 ssh $BBB_ADDRESS "$MAKE_COMMAND startuploop" 62 ssh $BBB_ADDRESS "$MAKE_COMMAND startuploop"
65 else 63 else
66 echo "Enabling Bela at startup..."
67 ssh $BBB_ADDRESS "$MAKE_COMMAND startup" 64 ssh $BBB_ADDRESS "$MAKE_COMMAND startup"
68 fi 65 fi