summaryrefslogtreecommitdiffstats
path: root/boot-env
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-05-29 17:14:25 +0200
committerDirk von Suchodoletz2009-05-29 17:14:25 +0200
commitc51a96d397f50cb53c523121c1a05a77de666e88 (patch)
tree2d7989d0a5a1a7492b2413076e04cb7b9f0156a0 /boot-env
parent* merged most stuff from runvbox.hints into run-virt.include (diff)
downloadcore-c51a96d397f50cb53c523121c1a05a77de666e88.tar.gz
core-c51a96d397f50cb53c523121c1a05a77de666e88.tar.xz
core-c51a96d397f50cb53c523121c1a05a77de666e88.zip
Just moved the WLAN specific files to the appropriate plugin.
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2903 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'boot-env')
-rwxr-xr-xboot-env/preboot/http-server/user_settings.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/boot-env/preboot/http-server/user_settings.pl b/boot-env/preboot/http-server/user_settings.pl
index b92027e9..a712d827 100755
--- a/boot-env/preboot/http-server/user_settings.pl
+++ b/boot-env/preboot/http-server/user_settings.pl
@@ -42,8 +42,12 @@ die "must give 'system' ($system), 'client' ($client) and 'preboot_id' ($preboot
my $webPath = "$openslxConfig{'public-path'}/preboot";
my $src = "$webPath/client-config/$system/$prebootID.tgz";
my $destPath = "$webPath/$prebootID/client-config/$system";
-mkpath($destPath/$client);
+mkpath($destPath."/".$client);
system(qq{tar -xz $src -C $destPath/$client/});
+
+# from here on the modifications of client configuration should take place
+# within $destPath/$client directory
+
system(qq{cd $destPath/$client; tar -czf $destPath/$client.tgz *});
unlink("$destPath/$client");