webalizer/rc.webalizer

Thu, 04 Oct 2012 20:08:55 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 04 Oct 2012 20:08:55 +0200
changeset 711
e5faec28ec63
parent 139
d3e0f51e3821
permissions
-rw-r--r--

Back out changes in 2.17.3:rateup.c disabling unit abbreviation.
Even when properly specifying 'kMG', the weekly, monthly, and yearly
graphs would not include abbreviated (with kMG postfix) values but
instead a very long figure such as '12000000.0 k' in the short legend.
The daily graphs don't suffer this problem, more research is needed.

     1 #!@l_prefix@/bin/openpkg rc
     2 ##
     3 ##  rc.webalizer -- Run-Commands
     4 ##
     6 %config
     7     webalizer_enable="$openpkg_rc_def"
     9 %common
    10     webalizer_etcdir="@l_prefix@/etc/webalizer"
    11     webalizer_webdir="@l_prefix@/web/webalizer"
    13 %daily -u @l_musr@
    14     rcService webalizer enable yes || exit 0
    16     for cfgfile in $webalizer_etcdir/*.conf; do
    17         [ ".`grep '^disable' $cfgfile`" != . ] && continue
    18         @l_prefix@/bin/webalizer \
    19             -Q -c $cfgfile || exit $?
    20     done

mercurial