diff options
-rwxr-xr-x | perl-install/standalone/drakconnect | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 0a7be7f82..5ac70a10c 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -275,9 +275,9 @@ sub build_tree { $intf->{pages} = { 'TCP/IP' => 1, 'Account' => 1, 'Modem' => 1, 'Options' => 1 }; # FIXME: code duplication, should be in network::modem::read_config $intf->{device} = $netc->{autodetect}{modem}; - my %l = getVarsFromSh("$::prefix/usr/share/config/kppprc"); + my %l = getVarsFromSh("/usr/share/config/kppprc"); - $intf->{kppprc} = "$::prefix/root/.kde/share/config/kppprc"; + $intf->{kppprc} = "/root/.kde/share/config/kppprc"; my %m = getVarsFromSh($intf->{kppprc}); $l{$_} = $m{$_} foreach keys %m; @@ -854,7 +854,7 @@ Configure them first by clicking on 'Configure'"))); } my $widget_temp; - if (-e "$::prefix/etc/sysconfig/network-scripts/ifcfg-$interface") { + if (-e "/etc/sysconfig/network-scripts/ifcfg-$interface") { $widget_temp = gtksignal_connect(Gtk2::Button->new(get_intf_status($interface)), clicked => sub { system("/sbin/if" . (ethisup($interface) ? N("down") : N("up")) . " $interface"); |