Changeset 943 for trunk/initramfs-tools-tcos/bin/get_server
- Timestamp:
- 08/06/08 19:50:57 (5 months ago)
- Files:
-
- 1 modified
-
trunk/initramfs-tools-tcos/bin/get_server (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/initramfs-tools-tcos/bin/get_server
r806 r943 8 8 if [ -e /conf/tcos-run-functions ]; then 9 9 STANDALONE=/var 10 export `grep SSL /conf/tcos.conf` 10 11 else 11 12 STANDALONE=/var/lib/tcos/standalone 13 . /etc/default/tcos-standalone 12 14 fi 13 15 … … 15 17 # SSL enabled 16 18 if [ -f $STANDALONE/log/stunnel.log ]; then 19 if [ "$TCOS_XMLRPC_SSL" = "1" ] || [ "$TCOS_ENABLE_SSL" = "1" ]; then 17 20 grep "tcosxmlrpc accepted connection" $STANDALONE/log/stunnel.log |tail -1 | awk '{print $NF}'| awk -F ":" '{print $1}' 18 21 exit 0 22 fi 19 23 fi 20 24
