f1d2df23c2
--HG-- extra : convert_revision : 277478e29b83b29d1d40ae95b5c522ea909f9647
12 lines
309 B
Bash
12 lines
309 B
Bash
#!/bin/sh
|
|
#
|
|
# This script is run by pppd when there's a successful ppp connection.
|
|
#
|
|
|
|
# Execute all scripts in /etc/ppp/ip-up.d/
|
|
for ipup in /etc/ppp/ip-up.d/*.sh; do
|
|
if [ -x $ipup ]; then
|
|
# Parameters: interface-name tty-device speed local-IP-address remote-IP-address ipparam
|
|
$ipup "$@"
|
|
fi
|
|
done
|