URI: 
       annna-join-channels - annna - Annna the nice friendly bot.
  HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
       ---
       annna-join-channels (752B)
       ---
            1 #!/bin/sh
            2 
            3 # Channels
            4 for channel in ${IRC_CHANNELS};
            5 do
            6         export IRC_CHANNEL="${channel}"
            7         printf "/j %s\n" "${IRC_CHANNEL}" > "${IRC_SERVERBASE}/in"
            8 
            9         # We are nice.
           10         sleep 1
           11 
           12         # Permissions for helpers.
           13         [ -d ${ANNNA_IRCBASE} ] && chmod o+rx ${ANNNA_IRCBASE}
           14         [ -d ${IRC_SERVERBASE} ] && chmod o+rx ${IRC_SERVERBASE}
           15 
           16         # This is needed so scripts can traverse further down.
           17         [ -d "${IRC_SERVERBASE}/${IRC_CHANNEL}" ] \
           18                 && chmod o+x "${IRC_SERVERBASE}/${IRC_CHANNEL}"
           19         # annna-say
           20         [ -p "${IRC_SERVERBASE}/${IRC_CHANNEL}/in" ] \
           21                 && chmod o+w "${IRC_SERVERBASE}/${IRC_CHANNEL}/in"
           22         # Scripts like comic irc output.
           23         [ -p "${IRC_SERVERBASE}/${IRC_CHANNEL}/out" ] \
           24                 && chmod o+r "${IRC_SERVERBASE}/${IRC_CHANNEL}/out"
           25 
           26         annna-channel-service
           27 done
           28