/etc/ppp/ip-up.d/ez-ipupdate is in ez-ipupdate 3.0.11b8-13.4.1.
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 | #!/bin/sh
#
# Default ez-ipupdate ip-up script
# /etc/ppp/ip-up.d/ez-ipupdate
#
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/ez-ipupdate
NAME=ez-ipupdate
[ -x $DAEMON ] || exit 0
configs=`find "/etc/$NAME/" -name '*.conf' | sed -e 's,.*/\(.*\).conf,\1,'`
[ x"$configs" = x ] && exit 0
for config in `echo "$configs"`
do
# Don't run daemon configurations
if grep -q '^ *daemon' "/etc/$NAME/$config.conf"; then continue; fi
# Don't run configurations that run in the foreground
if grep -q '^ *foreground' "/etc/$NAME/$config.conf"; then continue; fi
# Ok, launch an ez-ipupdate instance
"$DAEMON" -c "/etc/$NAME/$config.conf"
done
|