blob: f2dd5f731501516164983c55fbe91084384d5e80 [file] [log] [blame]
#!/bin/bash
#
# script to install in /etc/ppp/ip-up.d
#
# sets up environment for running pppd-script
#
# This is sourced by if-up, so we avoid setting any shell or
# environment variables that will be seen by other scripts.
PPP_IFACE="$1" \
DEVICE="$2" \
SPEED="$3" \
PPP_LOCAL="$4" \
PPP_REMOTE="$5" \
PPP_TTY="$2" \
PPP_PID="$PPID" \
PPP_IPPARAM="$6" \
/usr/lib/flimflam/scripts/pppd-script $*