/etc/ppp/ip-down.d/zentyal-ppp-down is in zentyal-network 2.3.13+quantal1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #!/bin/bash
ppp_iface=$1
eth_iface=$2
local_address=$4
remote_address=$5
LOG=/var/log/zentyal/pppoe.log
#TIMESTAMP=$(date +"%Y-%m-%d %T")
#echo "$TIMESTAMP> ppp-down script called with the following values:" >> $LOG
#echo "ppp_iface: $ppp_iface" >> $LOG
#echo "eth_iface: $eth_iface" >> $LOG
#echo "local_address: $local_address" >> $LOG
#echo "remote_address: $remote_address" >> $LOG
#echo "full_args: $@" >> $LOG
/usr/share/zentyal-network/dhcp-clear.pl $eth_iface
#TIMESTAMP=$(date +"%Y-%m-%d %T")
#echo "$TIMESTAMP> ppp-down script for $eth_iface ended" >> $LOG
|