Index: ipk/source/emus_mbox0.6_0010/CONTROL/postinst
===================================================================
--- ipk/source/emus_mbox0.6_0010/CONTROL/postinst	(revision 4651)
+++ ipk/source/emus_mbox0.6_0010/CONTROL/postinst	(revision 6663)
@@ -1,14 +1,7 @@
 #!/bin/sh
-TMP=/tmp/.mbox
-PLUGINDIR=/var/emu
+TMP=/tmp/.keys
+PLUGINDIR=/var/keys
+PLUGINDIR=/var/bin
 CONFIGDIR=/var/etc
-if [ ! -e /var/keys/cwshare.cfg ]; then
-	echo "renaming cwshare.cfg.mbox -> cwshare.cfg"
-	mv /var/keys/cwshare.cfg.mbox /var/keys/cwshare.cfg
-fi
-if [ ! -e /var/keys/mbox.cfg ]; then
-	echo "rename mbox.cfg.mbox -> mbox.cfg"
-	mv /var/keys/mbox.cfg.mbox /var/keys/mbox.cfg
-fi
 echo "successfully installed"
 echo "syncing disk"
@@ -19,3 +12,40 @@
 	echo new freespace size $FREE kb
 fi
+
+if [ ! -e /var/keys/add.data ]; then
+	echo "use ipk config file: add.data"
+	echo "rename /var/keys/add.data.mbox > /var/keys/add.data"
+	mv /var/keys/add.data.mbox /var/keys/add.data
+else
+	echo "found user config file: add.data"
+	echo "skip ipk config file: add.data.mbox"
+fi
+
+if [ ! -e /var/keys/mbox.cfg ]; then
+	echo "use ipk config file: mbox.cfg"
+	echo "rename /var/keys/mbox.cfg.mbox > /var/keys/mbox.cfg"
+	mv /var/keys/mbox.cfg.mbox /var/keys/mbox.cfg
+else
+	echo "found user config file: mbox.cfg"
+	echo "skip ipk config file: mbox.cfg.mbox"
+fi
+
+if [ ! -e /var/keys/cwshare.cfg ]; then
+	echo "use ipk config file: cwshare.cfg"
+	echo "rename /var/keys/cwshare.cfg.mbox > /var/keys/cwshare.cfg"
+	mv /var/keys/cwshare.cfg.mbox /var/keys/cwshare.cfg
+else
+	echo "found user config file: cwshare.cfg"
+	echo "skip ipk config file: cwshare.cfg.mbox"
+fi
+
+if [ ! -e /var/keys/port.list ]; then
+	echo "use ipk config file: port.list"
+	echo "rename /var/keys/port.list.mbox > /var/keys/port.list"
+	mv /var/keys/port.list.mbox /var/keys/port.list
+else
+	echo "found user config file: port.list"
+	echo "skip ipk config file: port.list.mbox"
+fi
+
 exit 0
