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, 14 years ago | |
---|---|
|
|
File size: 202 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | |
3 | read line |
4 | line=${line%[:blank:]} |
5 | line=${line% |
6 | } |
7 | |
8 | if [ "${line:0:4}" = "GET " ]; then # HTTP request |
9 | echo "Content-type: text/plain" |
10 | echo |
11 | /sbin/ipvsadm |
12 | else |
13 | /sbin/ipvsadm |
14 | fi |
Note: See TracBrowser
for help on using the repository browser.