moth/packages/logger/service/logger/run

7 lines
134 B
Plaintext
Raw Normal View History

2011-02-03 07:31:42 -07:00
#! /bin/sh -e
2010-10-06 17:20:00 -06:00
exec 2>&1
2011-02-03 07:31:42 -07:00
IP=$(cat ip.txt)
2011-02-07 13:10:02 -07:00
ip addr add $IP label eth0:logger dev eth0
2011-02-08 17:04:08 -07:00
exec tcpsvd ${IP%/*} 1958 /opt/logger/bin/logger