This file is indexed.

/etc/ppp/ip-up.d/zentyal-ppp-up 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash

scripts=/usr/share/zentyal-network

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-up 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
#echo "dns: $USEPEERDNS $DNS1 $DNS2" >> $LOG

$scripts/ppp-set-iface.pl $eth_iface $ppp_iface $local_address

$scripts/dhcp-address.pl $eth_iface $local_address 255.255.255.255

if [ $USEPEERDNS -eq 1 ]
then
    $scripts/dhcp-nameservers.pl $eth_iface $DNS1 $DNS2
fi

# Regenerate firewall rules
firewall_script=/usr/share/zentyal-firewall/dhcp-firewall.pl
[ -x $firewall_script ] && $firewall_script

#TIMESTAMP=$(date +"%Y-%m-%d %T")
#echo "$TIMESTAMP> ppp-up script for $eth_iface ended" >> $LOG