summaryrefslogtreecommitdiff
path: root/FS/FS/part_export/bsdshell.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/part_export/bsdshell.pm')
-rw-r--r--FS/FS/part_export/bsdshell.pm24
1 files changed, 21 insertions, 3 deletions
diff --git a/FS/FS/part_export/bsdshell.pm b/FS/FS/part_export/bsdshell.pm
index 0664209..7b5feb2 100644
--- a/FS/FS/part_export/bsdshell.pm
+++ b/FS/FS/part_export/bsdshell.pm
@@ -1,7 +1,25 @@
package FS::part_export::bsdshell;
-use vars qw(@ISA);
-use FS::part_export::null;
+use vars qw(@ISA %info);
+use Tie::IxHash;
+use FS::part_export::passwdfile;
-@ISA = qw(FS::part_export::null);
+@ISA = qw(FS::part_export::passwdfile);
+
+tie my %options, 'Tie::IxHash', %FS::part_export::passwdfile::options;
+
+%info = (
+ 'svc' => 'svc_acct',
+ 'desc' =>
+ 'Batch export of /etc/passwd and /etc/master.passwd files (BSD)',
+ 'options' => \%options,
+ 'nodomain' => 'Y',
+ 'notes' => <<'END'
+MD5 crypt requires installation of
+<a href="http://search.cpan.org/dist/Crypt-PasswdMD5">Crypt::PasswdMD5</a>
+from CPAN. Run bin/bsdshell.export to export the files.
+END
+);
+
+1;