netifd: do not validate relevant section when ipv6 is not supported
Signed-off-by: Rosy Song <rosysong@rosinson.com>
This commit is contained in:
parent
61a5994900
commit
a6add47869
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=netifd
|
PKG_NAME:=netifd
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL=$(PROJECT_GIT)/project/netifd.git
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/netifd.git
|
||||||
|
|
|
@ -133,9 +133,9 @@ service_triggers()
|
||||||
procd_open_validate
|
procd_open_validate
|
||||||
validate_atm_bridge_section
|
validate_atm_bridge_section
|
||||||
validate_route_section
|
validate_route_section
|
||||||
validate_route6_section
|
[ -e /proc/sys/net/ipv6 ] && validate_route6_section
|
||||||
validate_rule_section
|
validate_rule_section
|
||||||
validate_rule6_section
|
[ -e /proc/sys/net/ipv6 ] && validate_rule6_section
|
||||||
validate_switch_section
|
validate_switch_section
|
||||||
validate_switch_vlan
|
validate_switch_vlan
|
||||||
procd_close_validate
|
procd_close_validate
|
||||||
|
|
Loading…
Reference in a new issue