[Fix firewall will not up after bootup]
[Description]
Fix firewall will not up after bootup
1. fix firewall will not up after bootup and will not restart after wan down or up
[Release-log]
diff --git a/recipes-ccsp/util/utopia.bbappend b/recipes-ccsp/util/utopia.bbappend
index 9f12407..0bdf676 100644
--- a/recipes-ccsp/util/utopia.bbappend
+++ b/recipes-ccsp/util/utopia.bbappend
@@ -189,7 +189,9 @@
mkdir -p \/var\/run\/firewall \
touch \/nvram\/ETHWAN_ENABLE ' ${D}${sysconfdir}/utopia/utopia_init.sh
-
+ echo "firewall" >> ${D}${sysconfdir}/utopia/utopia_init.sh
+ echo "execute_dir /etc/utopia/post.d/" >> ${D}${sysconfdir}/utopia/utopia_init.sh
+ echo "touch /tmp/.postd_started" >> ${D}${sysconfdir}/utopia/utopia_init.sh
sed -i '/lan-status started/a \
sysevent set wan-status started ' ${D}${sysconfdir}/utopia/utopia_init.sh
fi