source: trunk/lvs/debian/config/etc/ha.d/ldirectord-finger.sh @ 1200

Last change on this file since 1200 was 1200, checked in by quentin, 15 years ago
HTTP-based list of scripts servers on http://scripts.mit.edu:78/
  • Property svn:executable set to *
File size: 202 bytes
Line 
1#!/bin/bash
2
3read line
4line=${line%[:blank:]}
5line=${line%
6}
7
8if [ "${line:0:4}" = "GET " ]; then # HTTP request
9    echo "Content-type: text/plain"
10    echo
11    /sbin/ipvsadm
12else
13    /sbin/ipvsadm
14fi
Note: See TracBrowser for help on using the repository browser.