diff options
Diffstat (limited to 'mail/majordomo/scripts/makeseed')
-rw-r--r-- | mail/majordomo/scripts/makeseed | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/mail/majordomo/scripts/makeseed b/mail/majordomo/scripts/makeseed deleted file mode 100644 index ae11e9cf900e..000000000000 --- a/mail/majordomo/scripts/makeseed +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/perl -my $file = $ARGV[0]; -my $seed = ''; -my $i; -my $patt = "./0123456789abcdefghijklmnopqrstuvwxyzQWERTYUIOPASDFGHJKLZXCVBNM"; -die unless $file; -srand; -for( $i = 1; $i <= 40; $i++ ) { - $seed = $seed . substr( $patt, int( rand() * 64 ), 1 ); -} -open OUT, ">>$file" || die "Cannot open output file"; -print OUT "\n## Set cookie_seed to value generated during install\n"; -printf OUT '$cookie_seed="%s";'."\n", $seed; -close( OUT ); |