From 6300c058b8ab4909485928de82dec50fe48f3768 Mon Sep 17 00:00:00 2001
From: Holger Paradies <retabell@gmx.de>
Date: Sun, 11 Jan 2015 13:26:12 +0100
Subject: copy vdr files

---
 backend/modules/install_main | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/backend/modules/install_main b/backend/modules/install_main
index 6f356cb..30956d8 100644
--- a/backend/modules/install_main
+++ b/backend/modules/install_main
@@ -282,6 +282,19 @@ function copy_etc_to_target()
 	cp -a /etc/locale.gen $TARGET/etc/locale.gen
 	cp -a /etc/apt/sources.list.d/*.list $TARGET/etc/apt/sources.list.d/
 	cp -a /etc/machine-id $TARGET/etc/machine-id
+	if [ -e /etc/default/vdr ]; then
+	    cp -a /etc/default/vdr $TARGET/etc/default/vdr
+	fi
+	if [ -e /etc/default/vdradmin-am ]; then
+	    cp -a /etc/default/vdradmin-am $TARGET/etc/default/vdradmin-am
+	fi
+	if [ -e /var/lib/vdr/channels.conf ]; then
+	    cp -a /var/lib/vdr/channels.conf $TARGET/var/lib/vdr/channels.conf
+	fi
+	if [ -e /var/lib/vdr/setup.conf ]; then
+	    cp -a /var/lib/vdr/setup.conf $TARGET/var/lib/vdr/setup.conf
+	fi
+
 	#cp -a /etc/console/* $TARGET/etc/console/
 	#cp -a /etc/environment $TARGET/etc/environment
 	
-- 
cgit v1.0