Index: ipk/source.sh4/network_dropbear/CONTROL/postinst
===================================================================
--- ipk/source.sh4/network_dropbear/CONTROL/postinst	(revision 34137)
+++ ipk/source.sh4/network_dropbear/CONTROL/postinst	(revision 45683)
@@ -14,10 +14,10 @@
 mkdir -p /mnt/dropbear
 
-if [ ! -e /mnt/dropbear/dropbear_rsa_host_key ]; then
+if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
 	dropbearkey -t rsa -s 2048 -f /mnt/dropbear/dropbear_rsa_host_key
 fi
 
 grep dropbear /var/etc/inetd.conf > /dev/null
-if [ $? = 1 ]; then
+if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
 	killall -9 inetd > /dev/null
 	echo "22 stream tcp nowait root /mnt/swapextensions/bin/dropbear dropbear -i -a -B -p 22" >> /var/etc/inetd.conf
Index: ipk/source.sh4/network_dropbear/CONTROL/postrm
===================================================================
--- ipk/source.sh4/network_dropbear/CONTROL/postrm	(revision 34137)
+++ ipk/source.sh4/network_dropbear/CONTROL/postrm	(revision 45683)
@@ -14,5 +14,5 @@
 
 grep dropbear /var/etc/inetd.conf > /dev/null
-if [ $? = 0 ]; then
+if [ -e /etc/.oebuild ] || [ -e /etc/.ovbuild ];then
 	killall -9 inetd > /dev/null
 	sed -i '/dropbear/d' /var/etc/inetd.conf
