blob: a3f9434c3735f172d29e88c890c03ea358e86d76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
active=$(sudo -u test cat /home/test/active)
nonactive="test-blue"
echo "Active party: ${active}"
if test $active = "test-blue"; then
nonactive="test-green"
fi
sudo -u $nonactive bash -c 'source $HOME/activate; taler-deployment-config-generate'
|