/etc/ppp/ip-up.d/netscript is in netscript-2.4-upstart 5.3.0ubuntu1.
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 | #!/bin/sh
[ ! -x /sbin/tc ] && exit 0
. /etc/netscript/network.conf
. /etc/netscript/qos.conf
ip_QoSppp $PPP_IFACE
ip_QoS $PPP_IFACE
eval TXQLEN=\${"$PPP_IFACE"_TXQLEN:-""}
[ -z "$TXQLEN" ] && eval TXQLEN=\${ppp_TXQLEN:-""}
[ -n "$TXQLEN" ] \
&& ip link set dev $PPP_IFACE txqlen $TXQLEN
|