|
|
bitreich-con-start-conference - bitreich-conference - Bitreich Conference System |
|
|
 |
git clone git://bitreich.org/bitreich-conference git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/bitreich-conference (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
|
bitreich-con-start-conference (592B) |
|
|
|
--- |
|
|
|
1 #!/bin/sh |
|
|
|
2 |
|
|
|
3 if [ $# -lt 1 ]; |
|
|
|
4 then |
|
|
|
5 year="$(date +%Y)" |
|
|
|
6 else |
|
|
|
7 year="$1" |
|
|
|
8 fi |
|
|
|
9 |
|
|
|
10 # Set a good default. |
|
|
|
11 printf "CONTERMCOL=%d\nCONTERMLIN=%d" "100" "35" \ |
|
|
|
12 > "/br/con/termres${year}" |
|
|
|
13 sudo -u presenter chmod g+w,g+r "/br/con/termres${year}" |
|
|
|
14 |
|
|
|
15 #env ABDUCO_SOCKET_DIR=/br/con/abduco abduco -A bitreichcon${year} |
|
|
|
16 sudo -u presenter abduco -n "/br/con/sock/bitreichcon${year}" /br/bin/bitreich-con-teaser-shell "${year}" |
|
|
|
17 sudo -u presenter chmod g+w,g+r "/br/con/sock/bitreichcon${year}" |
|
|
|
18 |
|
|
|
19 printf "The conference is now active and showing ads.\n" |
|
|
|
20 printf "Now run bitreich-hold-presentation on your behalf.\n" |
|
|
|
21 |
|