From c51a96d397f50cb53c523121c1a05a77de666e88 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 29 May 2009 15:14:25 +0000 Subject: 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 --- boot-env/preboot/http-server/user_settings.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'boot-env') 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"); -- cgit v1.2.3-55-g7522