kernel: add md5sum of kernel
[openwrt.git] / package / ppp / files / etc / ppp / ipv6-up
1 #!/bin/sh
2
3 gw=$5
4 dev=$1
5 cfg=$6
6
7 . /etc/functions.sh # common functions
8 include /lib/network # include /lib/network/*.sh
9 scan_interfaces # read and parse the network config
10
11 config_get_bool defaultroute "$cfg" defaultroute 1
12
13 if [ ${defaultroute} -eq 1 ]
14 then
15 route -A inet6 add default gw ${gw} dev ${dev}
16 fi
This page took 0.05209 seconds and 5 git commands to generate.