summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/draknet
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2000-08-23 12:48:15 +0000
committerdamien <damien@mandriva.com>2000-08-23 12:48:15 +0000
commite90ae7987859e093059fabcfd0ebc547954f207e (patch)
tree6fa7bec9535c507a4b17108aa14ba73f48f0dfda /perl-install/standalone/draknet
parent241962df84172b6c863bb7cf6338112ab3a11c49 (diff)
downloaddrakx-backup-do-not-use-e90ae7987859e093059fabcfd0ebc547954f207e.tar
drakx-backup-do-not-use-e90ae7987859e093059fabcfd0ebc547954f207e.tar.gz
drakx-backup-do-not-use-e90ae7987859e093059fabcfd0ebc547954f207e.tar.bz2
drakx-backup-do-not-use-e90ae7987859e093059fabcfd0ebc547954f207e.tar.xz
drakx-backup-do-not-use-e90ae7987859e093059fabcfd0ebc547954f207e.zip
updated isdn card
Diffstat (limited to 'perl-install/standalone/draknet')
-rwxr-xr-xperl-install/standalone/draknet19
1 files changed, 4 insertions, 15 deletions
diff --git a/perl-install/standalone/draknet b/perl-install/standalone/draknet
index d34342dec..9b6b9f892 100755
--- a/perl-install/standalone/draknet
+++ b/perl-install/standalone/draknet
@@ -19,7 +19,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-use lib ".."; #qw(/usr/lib/libDrakX);
+use lib qw(/usr/lib/libDrakX);
use interactive;
use netconnect;
@@ -30,7 +30,7 @@ local $_ = join '', @ARGV;
#/-h/ and die "usage: DrakFuck[--xf3] [--beginner] [--expert] [--auto] [--noauto] [--skiptest] [--testing]\n";
-my $i = {};
+my $isdn = {};
$::isStandalone = 1;
#$::force_xf3 = /-xf3/;
@@ -45,19 +45,8 @@ $::isStandalone = 1;
#-e $f or system("urpmi --auto XFree86 XFree86-75dpi-fonts");
#-e $f or die "install XFree86 first!\n";
-my $in = vnew interactive;#('su');
+my $in = vnew interactive('su');
-#`pidof xfs` > 0 or system("/etc/rc.d/init.d/xfs start");
-
-#system("mount /proc 2>/dev/null"); # ensure /proc is mounted for pci probing
-
-#Xconfig::getinfoFromXF86Config($i) if $0 =~ Xdrakres;
-#Xconfig::getinfo($i);
-
-#Xconfigurator::main('', $i, $in, 0, -e "/etc/pcmcia", sub { system("urpmi --auto XFree86-$_[0]") });
-
-#netconnect::isdn_ask('', $i, $in, -e "/etc/pcmcia");
-netconnect::isdn_detect('', $i, $in, -e "/etc/pcmcia");
-#netconnect::isdn_write_config('', $i, $in, -e "/etc/pcmcia");
+netconnect::net_connect('', $isdn, $in, -e "/etc/pcmcia");
$in->exit(0);