summaryrefslogtreecommitdiffstats
path: root/draklive-install
diff options
context:
space:
mode:
Diffstat (limited to 'draklive-install')
-rwxr-xr-xdraklive-install6
1 files changed, 5 insertions, 1 deletions
diff --git a/draklive-install b/draklive-install
index f2b2ab1..4dbd6ce 100755
--- a/draklive-install
+++ b/draklive-install
@@ -44,7 +44,11 @@ sub install_live() {
my $all_hds = {};
my $fstab = [];
$::prefix = '/mnt/install';
- my $copy_source = '/';
+
+ my $system_file = '/etc/sysconfig/draklive-install';
+ my %settings = getVarsFromSh($system_file);
+
+ my $copy_source = $settings{SOURCE} || '/';
display_start_message();
init_hds($in, $all_hds, $fstab);