#!/usr/bin/sh MYIP=`echo $SSH_CLIENT | (read a b c; echo $a)` CONF=/etc/bolixo/overrides.conf echo OVERRIDEFROM: $MYIP >$CONF while read line do echo SERVICE: $line >>$CONF done