summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/net_applet
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-24 12:28:44 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-24 12:28:44 +0000
commit29b31b8ff6190382a8eb57274daafbe46796ff69 (patch)
treef5951c103b72c8fc8d668b3487f2d3d5ff27d295 /perl-install/standalone/net_applet
parent76f587cb316af6842c69116fba9c853645242403 (diff)
downloaddrakx-backup-do-not-use-29b31b8ff6190382a8eb57274daafbe46796ff69.tar
drakx-backup-do-not-use-29b31b8ff6190382a8eb57274daafbe46796ff69.tar.gz
drakx-backup-do-not-use-29b31b8ff6190382a8eb57274daafbe46796ff69.tar.bz2
drakx-backup-do-not-use-29b31b8ff6190382a8eb57274daafbe46796ff69.tar.xz
drakx-backup-do-not-use-29b31b8ff6190382a8eb57274daafbe46796ff69.zip
ask for root password if needed when setting a new profile
Diffstat (limited to 'perl-install/standalone/net_applet')
-rw-r--r--perl-install/standalone/net_applet2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/net_applet b/perl-install/standalone/net_applet
index e06c786a5..68229c8e7 100644
--- a/perl-install/standalone/net_applet
+++ b/perl-install/standalone/net_applet
@@ -80,7 +80,7 @@ my %actions = (
choice_selected => sub { $_[0] eq $netcnx->{PROFILE} },
launch => sub {
$netcnx->{PROFILE} = $_[0];
- network::netconnect::set_profile($netcnx);
+ network::tools::bg_command_as_root('/sbin/set-netprofile', $netcnx->{PROFILE});
checkNetworkForce();
}
},