Show
Ignore:
Timestamp:
08/06/08 19:50:57 (5 months ago)
Author:
mariodebian
Message:

initramfs-tools-tcos (0.89.5)

  • bin/get_server:
    • Read TCOS SSL vars before reading log file
  • Update Debian testing default kernel to 2.6.25-2-486
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/initramfs-tools-tcos/bin/get_server

    r806 r943  
    88if [ -e /conf/tcos-run-functions ]; then 
    99  STANDALONE=/var 
     10  export `grep SSL /conf/tcos.conf` 
    1011else 
    1112  STANDALONE=/var/lib/tcos/standalone 
     13  . /etc/default/tcos-standalone 
    1214fi 
    1315 
     
    1517# SSL enabled 
    1618if [ -f $STANDALONE/log/stunnel.log ]; then 
     19  if [ "$TCOS_XMLRPC_SSL" = "1" ] || [ "$TCOS_ENABLE_SSL" = "1" ]; then 
    1720    grep "tcosxmlrpc accepted connection" $STANDALONE/log/stunnel.log |tail -1 | awk '{print $NF}'| awk -F ":" '{print $1}' 
    1821    exit 0 
     22  fi 
    1923fi 
    2024