7 .
/etc
/functions.sh
# common functions
8 include
/lib
/network
# include /lib/network/*.sh
9 scan_interfaces
# read and parse the network config
11 config_get_bool defaultroute
"$cfg" defaultroute
1
13 if [ ${defaultroute} -eq 1 ]
15 route
-A inet6 add default gw
${gw} dev
${dev}