diff options
Diffstat (limited to 'bin/drakconnect')
-rwxr-xr-x | bin/drakconnect | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/drakconnect b/bin/drakconnect index c259a46..7f8d98a 100755 --- a/bin/drakconnect +++ b/bin/drakconnect @@ -31,7 +31,6 @@ use standalone; #- warning, standalone must be loaded very first, for 'expla use interactive; use common; -use network::netconnect; use network::network; use modules; @@ -57,12 +56,9 @@ if (/--skip-wizard/) { network::drakconnect::global::configure_net($in, $net, $modules_conf); } else { # default is to run wizard (--add) - add_intf(); + require network::netconnect; + network::netconnect::safe_main($net, $in, $modules_conf); } $modules_conf->write; $in->exit(0); - -sub add_intf() { - network::netconnect::safe_main($net, $in, $modules_conf); -} |