summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-09-12 10:16:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-09-12 10:16:43 +0000
commit58c8e1fc0927484fbc8646706e8d27ba22f4d142 (patch)
tree224133379ddd7ef3eef8c70d86a07c5168e94391 /perl-install/network
parent3b4ff4606de868af07b102cad820fabc4f5ef3bb (diff)
downloaddrakx-backup-do-not-use-58c8e1fc0927484fbc8646706e8d27ba22f4d142.tar
drakx-backup-do-not-use-58c8e1fc0927484fbc8646706e8d27ba22f4d142.tar.gz
drakx-backup-do-not-use-58c8e1fc0927484fbc8646706e8d27ba22f4d142.tar.bz2
drakx-backup-do-not-use-58c8e1fc0927484fbc8646706e8d27ba22f4d142.tar.xz
drakx-backup-do-not-use-58c8e1fc0927484fbc8646706e8d27ba22f4d142.zip
fix #5586 (netprofile package still need be fixed)
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/netconnect.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 00803a90a..0d173ca93 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -275,13 +275,13 @@ fi
sub set_profile {
my ($netcnx) = @_;
- system("/sbin/set-netprofile $netcnx->{PROFILE}");
+ system("/sbin/set-netprofile \"$netcnx->{PROFILE}\"");
log::explanations("Switching to \"$netcnx->{PROFILE}\" profile");
}
sub save_profile {
my ($netcnx) = @_;
- system("/sbin/save-netprofile $netcnx->{PROFILE}");
+ system("/sbin/save-netprofile \"$netcnx->{PROFILE}\"");
log::explanations("Saving \"$netcnx->{PROFILE}\" profile");
}
@@ -289,13 +289,13 @@ sub del_profile {
my ($profile) = @_;
return if !$profile || $profile eq "default";
rm_rf("$::prefix/etc/netprofile/profiles/$profile");
- log::explanations("Deleting \"$profile\"profile ");
+ log::explanations("Deleting \"$profile\" profile ");
}
sub add_profile {
my ($netcnx, $profile) = @_;
return if !$profile || $profile eq "default" || member($profile, get_profiles());
- system("/sbin/clone-netprofile $netcnx->{PROFILE} $profile");
+ system("/sbin/clone-netprofile \"$netcnx->{PROFILE}\" \"$profile\"");
log::explanations("Creating \"$profile\" profile");
}