Introduction
Introduction Statistics Contact Development Disclaimer Help
annna-start-services - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
annna-start-services (385B)
---
1 #!/bin/sh
2
3 export PATH="$PATH:/home/annna/bin"
4
5 #cfgbase="$(pwd)"
6 cfgbase="$HOME/annna"
7 touch ${cfgbase}/running
8
9 cd ${cfgbase}
10 for server in $(find . -maxdepth 1 -type d | tail -n +2 | cut -c 3-);
11 do
12 [ ! -f ${server}/autoconnect ] && continue
13
14 channels="$(cat ${server}/channels | tr '\n' ' ')"
15
16 for chan in ${channels};
17 do
18 annna-start-service "${server}" "${chan}"
19 done
20 done
21
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.