#!/bin/sh # ip-up umask 022 PATH=/sbin:/bin:/usr/sbin:/usr/bin # just a logging example now=`date "+%b %d %T"` echo "$now UP $*" >> /var/log/cipe.log # Create/update PID file. Note: PKCIPE needs this. echo "$3 $1" >/var/run/cipe/${6:-$1}.pid # Proxy-ARP the peer's address on eth0 arp -i eth1 -Ds $5 eth1 pub exit 0