Index: /ipk/source.sh4/tools_kravencfg/CONTROL/control
===================================================================
--- /ipk/source.sh4/tools_kravencfg/CONTROL/control	(revision 35774)
+++ /ipk/source.sh4/tools_kravencfg/CONTROL/control	(revision 35774)
@@ -0,0 +1,8 @@
+Package: titan-plugin-tools-kravencfg
+Version: 1.0
+Architecture: sh4
+Section: tools
+Description: Configuration plugin for KravenHD skin
+Titanname: kravencfg
+Showname: KravenConfig
+Minversion: 1.0
Index: /ipk/source.sh4/tools_kravencfg/CONTROL/postinst
===================================================================
--- /ipk/source.sh4/tools_kravencfg/CONTROL/postinst	(revision 35774)
+++ /ipk/source.sh4/tools_kravencfg/CONTROL/postinst	(revision 35774)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+chmod -x $INSTDIR/usr/local/share/titan/plugins/kravencfg/kravencfg.sh
+
+exit 0
Index: /ipk/source.sh4/tools_kravencfg/CONTROL/postrm
===================================================================
--- /ipk/source.sh4/tools_kravencfg/CONTROL/postrm	(revision 35774)
+++ /ipk/source.sh4/tools_kravencfg/CONTROL/postrm	(revision 35774)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exit 0
Index: /ipk/source.sh4/tools_kravencfg/CONTROL/preinst
===================================================================
--- /ipk/source.sh4/tools_kravencfg/CONTROL/preinst	(revision 35774)
+++ /ipk/source.sh4/tools_kravencfg/CONTROL/preinst	(revision 35774)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exit 0
Index: /ipk/source.sh4/tools_kravencfg/CONTROL/prerm
===================================================================
--- /ipk/source.sh4/tools_kravencfg/CONTROL/prerm	(revision 35774)
+++ /ipk/source.sh4/tools_kravencfg/CONTROL/prerm	(revision 35774)
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exit 0
Index: /ipk/source.sh4/tools_kravencfg/_path_/usr/local/share/titan/plugins/kravencfg/kravencfg.sh
===================================================================
--- /ipk/source.sh4/tools_kravencfg/_path_/usr/local/share/titan/plugins/kravencfg/kravencfg.sh	(revision 35774)
+++ /ipk/source.sh4/tools_kravencfg/_path_/usr/local/share/titan/plugins/kravencfg/kravencfg.sh	(revision 35774)
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+lead="#begin_$1"
+tail="#end_$1"
+file_orig="$3/skin.xml"
+file_insert="$3/snippets/$1-$2.xml"
+
+echo lead=$lead
+echo tail=$tail
+echo file_orig=$file_orig
+echo file_insert=$file_insert
+
+sed -i -e "/^$lead$/,/^$tail$/{ /^$lead$/{p; r $file_insert
+        }; /$tail/p; d }" $file_orig
+
+sync
