diff options
| author | Petter Reinholdtsen <pere@hungry.com> | 2006-08-27 11:15:29 +0000 |
|---|---|---|
| committer | Petter Reinholdtsen <pere@hungry.com> | 2006-08-27 11:15:29 +0000 |
| commit | 0e57ff41743d9813aaffd81d333ba0db5d583e45 (patch) | |
| tree | 351541f238a9aa7c04eb4bd2810bea26f638e156 /sitesummary-client | |
| parent | 0f22df4574c6d859d4869a071d4eeb1c67a55681 (diff) | |
| download | sitesummary-0e57ff41743d9813aaffd81d333ba0db5d583e45.tar.gz sitesummary-0e57ff41743d9813aaffd81d333ba0db5d583e45.tar.bz2 sitesummary-0e57ff41743d9813aaffd81d333ba0db5d583e45.tar.xz | |
Get debconf question for collector URL working.
Diffstat (limited to 'sitesummary-client')
| -rw-r--r-- | sitesummary-client | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sitesummary-client b/sitesummary-client index 6a7c7c4..e799bd8 100644 --- a/sitesummary-client +++ b/sitesummary-client @@ -13,12 +13,6 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin # storage area on diskless clients, so use /tmp/. tmpdir=/tmp/sitesummary-$$ -#serverurls="http://developer.skolelinux.no/cgi-bin/popcon-submit.cgi" -serverurls="http://localhost/cgi-bin/sitesummary-collector.cgi" -fragdirs="/usr/lib/sitesummary/collect.d \ - /etc/sitesummary/collect.d" -gpgencrypt=false - log() { msg="$@" echo "$msg" @@ -46,8 +40,9 @@ gpg_encrypt_for_url() { gpg $GPGOPTS -e $infile > $outfile } -# Read the package default -[ -f /usr/share/sitesummary/config ] && . /usr/share/sitesummary/config +# Read the package default +[ -f /usr/share/sitesummary/sitesummary-client.conf ] && \ + . /usr/share/sitesummary/sitesummary-client.conf for confdir in \ /usr/share/sitesummary/config.d \ /etc/sitesummary/config.d |
