include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
config_get netmask "$config" netmask
config_get gateway "$config" gateway
config_get metric "$config" metric
config_get netmask "$config" netmask
config_get gateway "$config" gateway
config_get metric "$config" metric
+ config_get mtu "$config" mtu
# make sure there is a gateway and a target
[ -n "$target" ] || {
# make sure there is a gateway and a target
[ -n "$target" ] || {
dest="${dest:--host "$target"}"
/sbin/route add $dest ${gateway:+gw "$gateway"} \
dest="${dest:--host "$target"}"
/sbin/route add $dest ${gateway:+gw "$gateway"} \
- ${dev:+dev "$dev"} ${metric:+ metric "$metric"}
+ ${dev:+dev "$dev"} ${metric:+ metric "$metric"} \
+ ${mtu:+mss "$mtu"}
config_get target "$config" target
config_get gateway "$config" gateway
config_get metric "$config" metric
config_get target "$config" target
config_get gateway "$config" gateway
config_get metric "$config" metric
+ config_get mtu "$config" mtu
# make sure there is a gateway and a target
[ -n "$target" ] || {
# make sure there is a gateway and a target
[ -n "$target" ] || {
}
/sbin/route -A inet6 add $target ${gateway:+gw "$gateway"} \
}
/sbin/route -A inet6 add $target ${gateway:+gw "$gateway"} \
- ${dev:+dev "$dev"} ${metric:+ metric "$metric"}
+ ${dev:+dev "$dev"} ${metric:+ metric "$metric"} \
+ ${mtu:+mss "$mtu"}