Annotation of embedaddon/coova-chilli/www/chillijs.chi.sh, revision 1.1.1.1

1.1       misho       1: #!/bin/sh
                      2: # copyright (c) David Bird <david@coova.com>
                      3: # this is the pure shell version...
                      4: 
                      5: cat <<EOF
                      6: HTTP/1.0 200 OK
                      7: Content-Type: text/javascript
                      8: Cache: none
                      9: 
                     10: EOF
                     11: 
                     12: . ./config.sh
                     13: 
                     14: cat ChilliLibrary.js
                     15: echo "chilliController.host = '$hs_uamlisten';"
                     16: echo "chilliController.port = $hs_uamport;"
                     17: [ -n "$hs_uamservice" ] && echo "chilliController.uamService = '$hs_uamservice';"
                     18: [ "$hs_openidauth" = "on" ] && echo "chilliController.openid = true;"
                     19: 
                     20: cat chilliController.js

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>