Index: ipk/source.sh4/network_ipsec/CONTROL/postinst
===================================================================
--- ipk/source.sh4/network_ipsec/CONTROL/postinst	(revision 45366)
+++ ipk/source.sh4/network_ipsec/CONTROL/postinst	(revision 45683)
@@ -3,8 +3,8 @@
 ARCH=$(cat /etc/.arch)
 
-if [ -e /etc/.oebuild ];then
+if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
 	opkg update
 	opkg install strongswan
-	if [ "$ARCH" == "sh4" ];then
+	if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
 		opkg install kernel-module-aes-generic
 		opkg install kernel-module-sha1-generic
Index: ipk/source.sh4/network_ipsec/CONTROL/postrm
===================================================================
--- ipk/source.sh4/network_ipsec/CONTROL/postrm	(revision 45366)
+++ ipk/source.sh4/network_ipsec/CONTROL/postrm	(revision 45683)
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-if [ -e /etc/.oebuild ];then
+if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
 	sed 's/ipsec=.*//g' -i /mnt/config/start-config
 	opkg remove strongswan --force-removal-of-dependent-packages
