From f13b0c38b9b1c794f803ed3f496e076924cde03a Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 13 Aug 2002 21:03:16 +0000 Subject: rough WebDAV gui --- perl-install/standalone/diskdrake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/diskdrake b/perl-install/standalone/diskdrake index 56f175b57..ae07e8ebe 100755 --- a/perl-install/standalone/diskdrake +++ b/perl-install/standalone/diskdrake @@ -49,7 +49,7 @@ while (my $e = shift @l) { $::expert = defined(delete $options{expert}); $::testing = defined(delete $options{testing}); -my @types = qw(hd nfs smb removable fileshare); +my @types = qw(hd nfs smb dav removable fileshare); my ($type, $para) = ('hd', ''); foreach (@types) { if (exists $options{$_}) { @@ -108,6 +108,9 @@ if ($type eq 'hd') { first(grep { $para eq $_->{device} } @{$all_hds->{raw_hds}}) || die "unknown removable $para\n" : $in->ask_from_listf('', '', \&diskdrake::interactive::format_raw_hd_info, $all_hds->{raw_hds}) or $in->exit(0); diskdrake::removable::main($in, $all_hds, $raw_hd); +} elsif ($type eq 'dav') { + require diskdrake::dav; + diskdrake::dav::main($in, $all_hds); } else { $in->ask_warn('', "Sorry only a gtk frontend is available") if !$in->isa('interactive::gtk'); require diskdrake::smbnfs_gtk; -- cgit v1.2.1