summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/diskdrake
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/diskdrake')
-rwxr-xr-xperl-install/standalone/diskdrake24
1 files changed, 12 insertions, 12 deletions
diff --git a/perl-install/standalone/diskdrake b/perl-install/standalone/diskdrake
index 1aa72a3df..a0b8cd158 100755
--- a/perl-install/standalone/diskdrake
+++ b/perl-install/standalone/diskdrake
@@ -36,18 +36,18 @@ use log;
use c;
-my %options;
-my @l = @ARGV;
-while (my $e = shift @l) {
- my ($option) = $e =~ /--?(.*)/ or next;
- if ($option =~ /(.*?)=(.*)/) {
- $options{$1} = $2;
- } else {
- $options{$option} = '';
- }
-}
-$::expert = defined(delete $options{expert});
-$::testing = defined(delete $options{testing});
+#my %options;
+#my @l = @ARGV;
+#while (my $e = shift @l) {
+" my ($option) = $e =~ /--?(.*)/ or next;
+# if ($option =~ /(.*?)=(.*)/) {
+# $options{$1} = $2;
+# } else {
+# $options{$option} = '';
+# }
+"}
+#$::expert = defined(delete $options{expert});
+#$::testing = defined(delete $options{testing});
my @types = qw(hd nfs smb dav removable fileshare);
my ($type, $para) = ('hd', '');