forked from intelligent-agent/Refactor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make-testing-jig.sh
executable file
·22 lines (18 loc) · 1.02 KB
/
make-testing-jig.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
make_test() {
cd /usr/src/
mkdir -p replicape/test/
cd replicape/test/
wget https://bitbucket.org/intelligentagent/replicape/raw/e23c1b5ff0d36cada56b9a67056e22a33ca7c25f/test/test.py
wget https://bitbucket.org/intelligentagent/replicape/raw/e23c1b5ff0d36cada56b9a67056e22a33ca7c25f/test/test-replicape.service
wget https://bitbucket.org/intelligentagent/replicape/raw/e23c1b5ff0d36cada56b9a67056e22a33ca7c25f/eeprom/Replicape_0B3A.eeprom
wget https://bytebucket.org/intelligentagent/replicape/raw/e23c1b5ff0d36cada56b9a67056e22a33ca7c25f/test/error.png
wget https://bytebucket.org/intelligentagent/replicape/raw/e23c1b5ff0d36cada56b9a67056e22a33ca7c25f/test/ok.png
wget https://bitbucket.org/intelligentagent/replicape/raw/e23c1b5ff0d36cada56b9a67056e22a33ca7c25f/test/replicape.kmap
cp test-replicape.service /lib/systemd/system
systemctl enable test-replicape
chmod +x test.py
cd /etc/redeem
ln -s testing_rev_B.cfg printer.cfg
echo "cape_enable=bone_capemgr.enable_partno=BB-BONE-REPLICAP:0B3A" >> /boot/uEnv.txt
}
make_test