M7350/oe-core/meta-msm/recipes/ppp/files/ipv6-up

13 lines
385 B
Plaintext
Raw Normal View History

2024-09-09 08:57:42 +00:00
#!/bin/sh
#
# This script is called with the following parameters:
# interface tty speed local-address remote-address ipparam
#
DEVICE="$1"
# The environment is cleared before executing this script
# so the path must be reset
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
export PATH
echo $5+$4 >> /tmp/pppcmd.log
ip -6 route add $5 dev $1 scope host proto static