diff options
-rw-r--r-- | perl-install/network/adsl.pm | 1 | ||||
-rwxr-xr-x | perl-install/standalone/draknet | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index 94698996b..2061e4846 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -90,6 +90,7 @@ sub adsl_conf { sub adsl_conf_backend { my ($adsl, $netc, $adsl_type) = @_; + commands::mkdir_("-p", "$prefix/etc/ppp"); output("$prefix/etc/ppp/options", 'lock noipdefault diff --git a/perl-install/standalone/draknet b/perl-install/standalone/draknet index dc2c1f4e3..4f21f97d1 100755 --- a/perl-install/standalone/draknet +++ b/perl-install/standalone/draknet @@ -65,7 +65,8 @@ MDK::Common::Globals::init( $::isEmbedded && ref($in) =~ /gtk/ or goto dd; require Gtk; init Gtk; -use my_gtk qw(:helpers :wrappers); +require my_gtk; +import my_gtk qw(:helpers :wrappers); my $expert_mode=0; network::netconnect::read_net_conf('', $netcnx, $netc); any::setup_thiskind_backend('net', undef); |