"Fossies" - the Fresh Open Source Software Archive

Member "mosshe/tools/create_mosshe.header" (11 Mar 2015, 1147 Bytes) of package /linux/privat/old/mosshe.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 # set -x 
    4 
    5 #=========================================================
    6 #=========================================================
    7 # our configuration
    8 #=========================================================
    9 #=========================================================
   10 
   11 # MYNAME=allka.wyae.de
   12 MYNAME=$(/bin/hostname)
   13 MYDOM=$(/bin/hostname -d)
   14 MYGROUP=Server  # Leave unset to lookup via DNS TXT
   15 
   16 WEBURL="http://localhost/mosshe/groups.html"
   17 WWWDIR=/var/www/mosshe
   18 DATADIR=/usr/local/lib/mosshe
   19 TEMPDIR=/tmp
   20 
   21 NETWAIT=5   # seconds timeout for network service check
   22 
   23 
   24 #=========================================================
   25 # Startup
   26 #=========================================================
   27 . $DATADIR/functions.mosshe
   28 
   29 MossheSelfCheck root@localhost  # send alert to - if MoSShE has a problem
   30 
   31 
   32 
   33 #=========================================================
   34 # initialize checks
   35 #=========================================================
   36 . $DATADIR/functions.localchecks
   37 . $DATADIR/functions.netchecks
   38 
   39 
   40 #=========================================================
   41 # targets follow
   42 #=========================================================
   43 
   44 
   45